Problem with DNS on mandriva 2007

Carlos Alberto Bernat Orozco cabo81 at gmail.com
Mon Jan 29 14:33:21 UTC 2007


Hi group
Thanks for your answers. I still have the problem. Can't resolve web pages.
When I configure 200.21.66.194 on my NIC, my DNS does not resolv. These are
the querys for my domain.

#dig @200.21.66.194 www.codisert.com.co

; <<>> DiG 9.3.0 <<>> @200.21.66.194 www.codisert.com.co
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48876
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;www.codisert.com.co.           IN      A

;; ANSWER SECTION:
www.codisert.com.co.    604800  IN      CNAME   ethereal.codisert.com.co.
ethereal.codisert.com.co. 604800 IN     A       200.21.66.194

;; AUTHORITY SECTION:
codisert.com.co.        604800  IN      NS      ethereal.codisert.com.co.

;; Query time: 130 msec
;; SERVER: 200.21.66.194#53(200.21.66.194)
;; WHEN: Mon Jan 29 09:11:23 2007
;; MSG SIZE  rcvd: 90

#dig @200.21.66.194 codisert.com.co

; <<>> DiG 9.3.0 <<>> @200.21.66.194 codisert.com.co
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1210
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;codisert.com.co.               IN      A

;; AUTHORITY SECTION:
codisert.com.co.        172800  IN      SOA     codisert.com.co.
root.codisert.com.co. 20060804 10800 7200 1296000 172800

;; Query time: 115 msec
;; SERVER: 200.21.66.194#53(200.21.66.194)
;; WHEN: Mon Jan 29 09:11:50 2007
;; MSG SIZE  rcvd: 74

dig @200.21.66.194 200.21.66.194

; <<>> DiG 9.3.0 <<>> @200.21.66.194 200.21.66.194
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8516
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 13

;; QUESTION SECTION:
;200.21.66.194.                 IN      A

;; AUTHORITY SECTION:
.                       517215  IN      NS      G.ROOT-SERVERS.NET.
.                       517215  IN      NS      H.ROOT-SERVERS.NET.
.                       517215  IN      NS      I.ROOT-SERVERS.NET.
.                       517215  IN      NS      J.ROOT-SERVERS.NET.
.                       517215  IN      NS      K.ROOT-SERVERS.NET.
.                       517215  IN      NS      L.ROOT-SERVERS.NET.
.                       517215  IN      NS      M.ROOT-SERVERS.NET.
.                       517215  IN      NS      A.ROOT-SERVERS.NET.
.                       517215  IN      NS      B.ROOT-SERVERS.NET.
.                       517215  IN      NS      C.ROOT-SERVERS.NET.
.                       517215  IN      NS      D.ROOT-SERVERS.NET.
.                       517215  IN      NS      E.ROOT-SERVERS.NET.
.                       517215  IN      NS      F.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
A.ROOT-SERVERS.NET.     603615  IN      A       198.41.0.4
B.ROOT-SERVERS.NET.     603615  IN      A       192.228.79.201
C.ROOT-SERVERS.NET.     603615  IN      A       192.33.4.12
D.ROOT-SERVERS.NET.     603615  IN      A       128.8.10.90
E.ROOT-SERVERS.NET.     603615  IN      A       192.203.230.10
F.ROOT-SERVERS.NET.     603615  IN      A       192.5.5.241
G.ROOT-SERVERS.NET.     603615  IN      A       192.112.36.4
H.ROOT-SERVERS.NET.     603615  IN      A       128.63.2.53
I.ROOT-SERVERS.NET.     603615  IN      A       192.36.148.17
J.ROOT-SERVERS.NET.     603615  IN      A       192.58.128.30
K.ROOT-SERVERS.NET.     603615  IN      A       193.0.14.129
L.ROOT-SERVERS.NET.     603615  IN      A       198.32.64.12
M.ROOT-SERVERS.NET.     603615  IN      A       202.12.27.33

;; Query time: 138 msec
;; SERVER: 200.21.66.194#53(200.21.66.194)
;; WHEN: Mon Jan 29 09:12:21 2007
;; MSG SIZE  rcvd: 450



And this is my named.conf:


zone "ac" { type delegation-only; };
zone "cc" { type delegation-only; };
zone "com" { type delegation-only; };
zone "cx" { type delegation-only; };
zone "lv" { type delegation-only; };
zone "museum" { type delegation-only; };
zone "net" { type delegation-only; };
zone "nu" { type delegation-only; };
zone "ph" { type delegation-only; };
zone "sh" { type delegation-only; };
zone "tm" { type delegation-only; };
zone "ws" { type delegation-only; };

zone "." IN {
        type hint;
        file "named.ca";
};

zone "localdomain" IN {
        type master;
        file "master/localdomain.zone";
        allow-update { none; };
};

zone "localhost" IN {
        type master;
        file "master/localhost.zone";
        allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "reverse/named.local";
        allow-update { none; };
};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa"
IN {
        type master;
        file "reverse/named.ip6.local";
        allow-update { none; };
};

zone "0.in-addr.arpa" IN {
        type master;
        file "reverse/named.zero";
        allow-update { none; };
};
//poner master/
zone "codisert.com.co" IN {
        type master;
        file "codisert.com.co.db";
        allow-update { none; };
};
//poner reverse/
zone "66.21.200.in-addr.arpa" IN {
        type master;
        file "200.21.66.rev";
        allow-update { none; };
};
//poner reverse/
zone "62.21.200.in-addr.arpa" IN {
        type master;
        file "200.21.62.rev";
        allow-update { none; };
};

This is fine to me. I did the subdomain query, www.codisert.com.co and it
seems to give a good answer. I'm using bind 9.3.

>> It's  a referral.  The authority section only has a NS
>>       RRset.

Sorry Mark but can you explain me a little more about this?.... I configured
my firewall in order to allow DNS in UDP and TCP, but still have the same
problem. Do you have more ideas?


Again thanks in advanced

Carlos Bernat




More information about the bind-users mailing list