Can't resolve local domain
Kevin Darcy
kcd at daimlerchrysler.com
Tue Apr 25 00:41:14 UTC 2006
MikeDawg wrote:
>Hi, this is sort of a newbish type question, and I can't figure out
>what is going on with my local domain. I'm also not 100% sure if this
>problem is related to my Bind DNS setup, or whether it is a problem
>with how I got my windows networking setup, hopefully someone will be
>able to tell me one or the other.
>
>I have bind running on my linux box, and I have setup a local domain
>"xxxx.sys" in bind.
>
>In bind, I have to zone files setup.
>
>One is for 1.168.192.in-addr.arpa, in the named.conf file showing:
>
>zone "1.168.192.in-addr.arpa" IN {
> type master;
> file "primary/1.168.192.in-addr.arpa";
> allow-update {
> 192.168.1.0/24;
> };
> allow-query {
> 192.168.1.0/24;
> 127.0.0.0/8;
> localhost;
> };
> notify no;
>};
>
>One is for the xxxx.sys domain, setup in the named.conf file showing:
>
>zone "xxxx.sys" IN {
> type master;
> file "primary/xxxx.sys";
> allow-update {
> 192.168.1.0/24;
> };
> allow-query {
> 192.168.1.0/24;
> localhost;
> 127.0.0.0/8;
> };
>};
>
>The contents of 1.168.192.in-addr.arpa is the following:
>
>$TTL 3D
>@ IN SOA ns.xxxx.sys.
>hostmaster.xxxx.sys. (
> 2006041901
> 8H
> 2H
> 4W
> 1D )
>;
>xxxx.sys. IN MX 10 mail.xxxx.sys. ;Mail Server
>router.xxxx.sys. IN A 192.168.1.1 ;DD-WRT
>slacker2.xxxx.sys. IN A 192.168.1.9 ;Slacker2
>melement.xxxx.sys. IN A 192.168.1.8 ;Melissa
>bad-ath64.xxxx.sys. IN A 192.168.1.2 ;Bad-Ath64
>slacker.xxxx.sys. IN A 192.168.1.7 ;Slacker
>firewall.xxxx.sys. IN CNAME router.xxxx.sys. ;Firewall and
>Router
>ns.xxxx.sys. IN CNAME slacker2.xxxx.sys. ;Name Server
>mail.xxxx.sys. IN CNAME slacker2.xxxx.sys. ;Mail Server
>ns1.xxxx.sys. IN CNAME slacker2.xxxx.sys. ;Name Server
>1
>www.xxxx.sys. IN CNAME slacker2.xxxx.sys. ;www
>bad-ath.xxxx.sys. IN CNAME melement.xxxx.sys. ;melement's
>old name
>xxxx.sys. IN NS ns.xxxx.sys. ;Name Server
>xxxx.sys. IN NS ns1.xxxx.sys. ;Name Server
>1
>
>-- END CONFIGURATION FILES --
>
>When I try to ping mail.xxxx.sys from my windows machine (192.168.1.2 &
>192.168.1.8) it cannot find the IP address.
>
>I can run nslookup using 192.168.1.9 as the server, and successfully do
>an IP lookup on mail.xxxx.sys
>
>I definetely have the NS server for the network card set to
>192.168.1.9, verified using ipconfig /all and looking at the list of
>DNS servers allowed for the NIC. When I try pinging various servers
>from the linux machine, that is also running dns (192.168.1.9) I can
>ping any server on the domain. . . such as bad-ath64.xxxx.sys and it
>finds the IP address just fine.
>
>Bind starts up just fine, loads the proper xxxx.sys file, and the
>correct serial number for the zone that I set.
>
>What am I doing wrong here? Is this a problem with bind? Or is this a
>problem with my windows networking configuration?
>
>
From what you've described so far -- works from the Linux box, but not
the Windows box -- it sounds like a problem with the Windows box. But
if you want further confirmation, turn on query logging or run a sniffer
to verify that the query packets aren't even reaching the nameserver.
- Kevin
More information about the bind-users
mailing list