<font size=2 face="sans-serif">Hi....</font>
<br>
<br><font size=2 face="sans-serif">I am using pdns 2.9.22 with ldap backend
for many months now. It works very nice and without troubles.Thanks for
this...</font>
<br><font size=2 face="sans-serif">Maybe I am too dump to find this in
the docu but I need to sort the responses of dns replies according to where
the request comes from. Similar to the sortlist feature of bind.</font>
<br>
<br><font size=2 face="sans-serif">I am using the authoritative pdns server
without recursor at present in 5 different networks (isolated from the
internet) but 3 of them are connected to each other. Each subnet
runs its own instance of pdns (and also a dhcp server hooked to the same
LDAP). The LDAP itself is central. Only one (replicated) directory serving
all subnets.</font>
<br>
<br><font size=2 face="sans-serif">I now got a couple of hosts with more
than one interface OR hosts (laptops) that are plugged once in this network
and once into the other network. Those hosts have multiple DNS entries
with adresses in each of allowed subnets for these hosts.</font>
<br>
<br><font size=2 face="sans-serif">For example host "myhost"
could have the following ip addresses:</font>
<br><font size=2 face="sans-serif">192.168.0.11</font>
<br><font size=2 face="sans-serif">192.168.1.11</font>
<br><font size=2 face="sans-serif">192.168.2.11</font>
<br><font size=2 face="sans-serif">192.168.4.11</font>
<br>
<br><font size=2 face="sans-serif">When querying on a linux (or mac) box
(via "host myhost") from subnet 192.168.2.0 I get </font>
<br><font size=2 face="sans-serif">myhost.my.net has address 192.168.0.11</font>
<br><font size=2 face="sans-serif">myhost.my.net has address 192.168.1.11</font>
<br><font size=2 face="sans-serif">myhost.my.net has address 192.168.2.11</font>
<br><font size=2 face="sans-serif">myhost.my.net has address 192.168.4.11</font>
<br>
<br><font size=2 face="sans-serif">When I do a "ping myhost"
from linux/mac it tries to ping 192.168.0.11, But the 192.168.0.0 network
is not reachable from the 192.168.2.0 network. When querying from the 192.168.2.0
network the 192.168.2.11 should be first address replied.</font>
<br>
<br><font size=2 face="sans-serif">When using bind I am able to solve this
by sortlists. How can I do this with pdns and ldap backend?</font>
<br>
<br><font size=2 face="sans-serif">Thanks for your help,</font>
<br>
<br><font size=2 face="sans-serif">Roland </font>