(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 ?