Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

(DNS1 ,WWW1, Gateway1) (sub-internal network)
(DNS0,WWW0,Gateway0) (internal network)

DNS1: 192.168.250.3/24
WWW1: 192.168.250.4/24
Gateway1: 192.168.250.1 /24 (internal) :: 192.168.0.150 to 192.168.0.175 (external)

DNS0:192.168.0.197/24
WWW0:192.168.0.197/24
Gateway0: 192.168.0.1 (internal) :: 69.94.x.x (external, dynamic ,isp control)

Expected behavior: When using dig from internal (192.168.250.0/24) hosts, and query about domain from 192.168.0.197/16 nameserver's hosts (for which its authoritative) , it should return the ip address.

Whats happening: After dig, answer section empty, the query is trying to access a.root server instead of 192.168.0.197 ,even though i have defined 192.168.0.197 as dns in gateway1's resolv.conf

Why? I need this working asap, can anyone here help ?

share|improve this question

1 Answer 1

Why are you using 2 DNS servers in this setup? You can just use one, serving DNS requests for your whole network. Clients on other subnets just need to have access to this DNS server via a default gateway into the network where the DNS server is located.

share|improve this answer
    
Because I want to establish a hierarchy as in real world, and 192.168.250.0/24 can have internal changes without 192.168.0.0/16 knowing about it. Also, 192.168.0.0 should be able to access 192.168.250.0/24 by "domain names" and the vice versa should be possible using same method. –  nikhilelite Mar 22 '11 at 12:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.