DNS queries with 3 networks

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri Apr 8 08:03:11 UTC 2011


On 08.04.11 09:11, Flex Banana wrote:
> how to resolve this ? i would like to have the same results but in the
> order that i can ping the server with i's hostname:
> 
> from eth0 network (192.168.1.1/24)
> $ host mydns.example.com
> mydns.example.com  has address 192.168.1.10
> mydns.example.com has address 10.140.27.10
> mydns.example.com  has address 172.16.1.10
> 
> or from eth1 network (172.16.1.1/24)
> $ host mydns.example.com
> mydns.example.com  has address 172.16.1.10
> mydns.example.com  has address 192.168.1.10
> mydns.example.com has address 10.140.27.10
> 
> and from eth2 network (10.140.27.1/24)
> $ host mydns.example.com
> mydns.example.com has address 10.140.27.10
> mydns.example.com  has address 172.16.1.10
> mydns.example.com  has address 192.168.1.10


look at sortlist statement in bind's config.
-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I drive way too fast to worry about cholesterol. 



More information about the bind-users mailing list