Public DNS with NAT IP

Barry Finkel b19141 at
Fri Nov 17 14:37:57 UTC 2006

guy cipher" <guy.cipher at> wrote, in part,

>I'm setuping the BIND 9.3 on Solaris 9 server having private IP address. The
>Firewall is doing mapping (NATing) the public IP to the private IP address.
>Let's say ->
>The current DNS server is working fine having public IP is working fine.
>When I copied all the configuration from current DNS server to another
>server having private IP (  The configuration is same only the
>server IP is private.  The DNS server is not resolving properly the queries
>for non-authrorartive server, but it does resolves the all A records defined
>in the DNS configuration.
>When I run 'nslookup' it generates meesage "can't find server name for
>address". It resolves the queries from "" loopback
>address. Sometimes it generates "No address (A) records available.

This message from nslookup is one reason why nslookup is NOT a DNS
debugging tool.  The first thing that nslookup does is to verify that
the DNS server you are using is registered properly in DNS.  In this
case, it appears that the address

is not registered in DNS, so nslookup will not use it as a DNS server.
Somewhat cryptic error message and quit.  Use dig (that comes with BIND)
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory          Phone:    +1 (630) 252-7277
9700 South Cass Avenue               Facsimile:+1 (630) 252-4601
Building 222, Room D209              Internet: BSFinkel at
Argonne, IL   60439-4828             IBMMAIL:  I1004994

More information about the bind-users mailing list