Different answer when querying @server from different clients

Steven Carr sjcarr at gmail.com
Fri Mar 6 22:05:14 UTC 2015


On 6 March 2015 at 21:43, Arthur Ramsey <arthur_ramsey at mediture.com> wrote:
> I can't figure out why these two hosts resolve great.truchart.com
> differently when querying the authoritative server.

DNS views have been implmented on your DNS server.

> [root at dc01 ~]# dig +trace great.truchart.com @74.113.249.135
<snip>
> great.truchart.com.     3600    IN      A       192.168.168.225
> truchart.com.           86400   IN      NS      ns2.mediture.com.
> truchart.com.           86400   IN      NS      ns1.mediture.com.
> ;; Received 129 bytes from 74.113.249.135#53(74.113.249.135) in 3 ms

The above dc01 is probably an internal host. When dc01 is querying
it's getting the internal IP address back for that host.

> [root at www02 ~]# dig +trace great.truchart.com @74.113.249.135
<snip>
> great.truchart.com.     3600    IN      A       198.181.115.225
> truchart.com.           86400   IN      NS      ns2.mediture.com.
> truchart.com.           86400   IN      NS      ns1.mediture.com.

I'm gussing www02 is in some kind of DMZ environment and so when it
queries the DNS server it's getting the external IP address for that
host.

Steve


More information about the bind-users mailing list