Strange Resolution Problem

Danny Mayer mayer at gis.net
Tue Dec 17 02:42:14 UTC 2002


At 02:21 PM 12/16/02, Ruben I Safir wrote:


>Hello
>
>I have a wierd resolution probel with bind.
>
>I have a host, david.rm-cpa.com, which is resolving on the server running 
>bind 9
>as follows:
>
>ruben at mail:~> dig david.rm-cpa.com
>
>; <<>> DiG 9.2.1 <<>> david.rm-cpa.com
>;; global options:  printcmd
>;; Got answer:
>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8795
>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
>
>;; QUESTION SECTION:
>;david.rm-cpa.com.              IN      A
>
>;; ANSWER SECTION:
>david.rm-cpa.com.       86400   IN      A       66.114.66.239
>
>;; AUTHORITY SECTION:
>rm-cpa.com.             86400   IN      NS      mail.rm-cpa.com.
>
>;; ADDITIONAL SECTION:
>mail.rm-cpa.com.        86400   IN      A       64.0.231.98
>
>;; Query time: 5 msec
>;; SERVER: 64.0.231.98#53(64.0.231.98)
>;; WHEN: Mon Dec 16 14:06:07 2002
>;; MSG SIZE  rcvd: 85
>
>
>Other machines can not resolve the name, including the host itself:
>david:~ # dig daivd.rm-cpa.com

You misspelled the name. daivd != david

>; <<>> DiG 8.3 <<>> daivd.rm-cpa.com
>;; res options: init recurs defnam dnsrch
>;; got answer:
>;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4
>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>;; QUERY SECTION:
>;;      daivd.rm-cpa.com, type = A, class = IN
>
>;; AUTHORITY SECTION:
>rm-cpa.com.             1D IN SOA       rm-cpa.com. root.home.rm-cpa.com. (

This is wrong. The MNAME should be mail.rm-cpa.com. and not rm-cpa.com.

>                                         2002110902      ; serial
>                                         12H             ; refresh
>                                         1H              ; retry
>                                         4W              ; expiry
>                                         1D )            ; minimum
>
>
>;; Total query time: 21 msec
>;; FROM: david to SERVER: default -- 64.0.231.98
>;; WHEN: Mon Dec 16 03:19:35 2002
>;; MSG SIZE  sent: 34  rcvd: 80
>
>
>I'm very confused about what's causing this problem.
>
>The entry for this is:
>zone "rm-cpa.com"{
>         type master;
>         file "rm-cpa.com.db";
>         allow-transfer{
>                 192.168.0.110;
>                 216.112.229.114;
>                 64.105.122.138;
>         };
>};
>
>david.rm-cpa.com.               IN      A       66.114.66.239
>david-gw.rm-cpa.com.            IN      A       192.168.1.1
>david-home.rm-cpa.com.          IN      A       192.168.1.100

You missed most of the records. You only have one NS record for the
zone instead of the two listed in the TLD. You need to add www2.mrbrklyn.com
as an NS record to your zone file. You have a whole bunch of RFC 1918
addresses in your zone file. Private addresses should not be visible in a
public zone. All of those station* and student* addresses should be removed.
My asterisk here represents a number. Also one of your MX records fax
points to superman which is also a 192.168.0.* IP Address.

Danny





>--
>__________________________
>Brooklyn Linux Solutions
>__________________________
>DRM is THEFT - We are the STAKEHOLDERS http://fairuse.nylxs.com
>
>http://www.mrbrklyn.com - Consulting
>http://www.inns.net <-- Happy Clients
>http://www.nylxs.com - Leadership Development in Free Software
>http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and 
>articles from around the net
>http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
>
>1-718-382-0585



More information about the bind-users mailing list