Click to See Complete Forum and Search --> : LAN name server


linux_lackey
03-03-2004, 04:03 PM
My Linux box has two NIC cards. One for the Internet, the other for my intranet. The problem is when I do an nslookup for my domain, from within my LAN I get *** Can't find server name for address 192.168.1.1: Non-existent domain. The external lookup works fine.

I understand what the error is telling me but I am not sure if the internal IP should be a part of the mydomain.com zone file OR be it's own zone, OR maybe neither.

bwkaz
03-03-2004, 08:16 PM
You need a PTR record in the 1.168.192.in-addr.arpa domain, for the "1" host, that points at the hostname of the box that is 192.168.1.1.

Let me guess -- you're using nslookup on a Windows box? It insists on having a reverse DNS entry for its nameserver (dig, which is the domain lookup tool that comes with bind, does not require this, and neither do any RFC's that I've read).

linux_lackey
03-04-2004, 09:37 AM
Got it, thx...