bind zone problem

Kevin Darcy kcd at daimlerchrysler.com
Wed Aug 31 00:31:29 UTC 2005


Did you ask them to delegate achim.inflpr.ro or achim-a.inflpr.ro? 
There's no mention of an "achim" subdomain in the inflpr.ro zone. Looks 
like they tried to delegate achim-a.inflpr.ro, but then a) forgot to 
define the glue A record for the delegated nameserver, b) forgot to 
dot-terminate the RDATA of the delegation record, and c) defined the 
achim-a.inflpr.ro zone on their *own* (81.181.130.3) nameserver, with a 
bunch of PTR records in it (looks like maybe they copied over a reverse 
zone (?)) and, again, missed some necessary dot-termination. Their 
version of the achim-a.inflpr.ro zone, even if it were delegated 
properly from inflpr.ro to your nameservers, would "cover up" the 
delegated version.

% dig achim-a.inflpr.ro any @81.181.130.3

; <<>> DiG 9.2.2rc1 <<>> achim-a.inflpr.ro any @81.181.130.3
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9742
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;achim-a.inflpr.ro. IN ANY

;; ANSWER SECTION:
achim-a.inflpr.ro. 86400 IN NS ns.achim-a.inflpr.ro.achim-a.inflpr.ro.
achim-a.inflpr.ro. 86400 IN SOA achim-a.inflpr.ro.achim-a.inflpr.ro. 
root.achim-a.inflpr.ro. 2005063001 28800 14400 3600000 86400
achim-a.inflpr.ro. 86400 IN MX 10 ns.achim-a.inflpr.ro.achim-a.inflpr.ro.

;; Query time: 158 msec
;; SERVER: 81.181.130.3#53(81.181.130.3)
;; WHEN: Tue Aug 30 20:03:35 2005
;; MSG SIZE rcvd: 127

% dig achim-a.inflpr.ro axfr @81.181.130.3

; <<>> DiG 9.2.2rc1 <<>> achim-a.inflpr.ro axfr @81.181.130.3
;; global options: printcmd
achim-a.inflpr.ro. 86400 IN SOA achim-a.inflpr.ro.achim-a.inflpr.ro. 
root.achim-a.inflpr.ro. 2005063001 28800 14400 3600000 86400
achim-a.inflpr.ro. 86400 IN NS ns.achim-a.inflpr.ro.achim-a.inflpr.ro.
achim-a.inflpr.ro. 86400 IN MX 10 ns.achim-a.inflpr.ro.achim-a.inflpr.ro.
1.achim-a.inflpr.ro. 86400 IN PTR 
router.achim-a.inflpr.ro.achim-a.inflpr.ro.
1.achim-a.inflpr.ro. 86400 IN PTR ns.achim-a.inflpr.ro.achim-a.inflpr.ro.
1.achim-a.inflpr.ro. 86400 IN PTR www.achim-a.inflpr.ro.achim-a.inflpr.ro.
2.achim-a.inflpr.ro. 86400 IN PTR alex.achim-a.inflpr.ro.achim-a.inflpr.ro.
4.achim-a.inflpr.ro. 86400 IN PTR hajni.achim-a.inflpr.ro.achim-a.inflpr.ro.
achim-a.inflpr.ro. 86400 IN SOA achim-a.inflpr.ro.achim-a.inflpr.ro. 
root.achim-a.inflpr.ro. 2005063001 28800 14400 3600000 86400
;; Query time: 306 msec
;; SERVER: 81.181.130.3#53(81.181.130.3)
;; WHEN: Tue Aug 30 20:12:07 2005
;; XFR size: 10 records

I hope you're not paying for this level of service/expertise. By the 
way, the other nameserver for inflpr.ro (212.35.138.1) appears to be 
out-of-sync for the zone, and returns SERVFAIL to most queries related 
to achim-a.inflpr.ro.

Note that there is no mention of "example" in your version of the 
subzone or theirs. Once you get the zone delegated properly to your 
nameservers, you'll need to define "example" in the subzone.

- Kevin

linux wrote:

>Hy all
>Have a little problem with my bind (8.2.4).
>I ask my admin to modify the nameserver for (inflpr.ro) to create my own
>zone: achim.inflpr.ro and to have host example.achim.inflpr.ro.Ok.I want to
>know where is the mistake: here to me, or him - not do this job?!! the
>forward server is 81.181.130.3 ,my ip is 81.181.130.103.The class
>192.168.3.0/24 i choose arbitrary
>I write the configurations here:
>
>named.conf:
>=======================================================
>options {
>   directory "/var/named";
>   query-source address * port 53;
>   forward only;
>   forwarders { 81.181.130.3; };
>};
> 
>zone "." {
>      type hint;
>      file "root.cache";
>};
>
>zone "localhost" {
>      type master;
>      file "localhost";
>};
>
>zone "0.0.127.in-addr.arpa" {
>      type master;
>      file "127.0.0";
>};
>
>zone "achim-a.inflpr.ro" {
>      type master;
>      file "achim.zone";
>      notify yes;
>      also-notify { 81.181.130.3; };
>     
>     
>};
>
>zone "3.168.192.in-addr.arpa" {
>        type master;
>        file "stub/achim.rev";
>        allow-transfer { 81.181.130.3; };
>        allow-update { 81.181.130.3; };
>};
>==================================================================
>achim.zone
>==================================================================
>; achim-a.inflpr.ro.
>$TTL 3600
>@               in      soa     achim-a.inflpr.ro. root.achim-a.inflpr.ro. (
>                                1993050801      ;serial
>                                3600            ;refresh
>                                1800            ;retry
>                                604800          ;expiration
>                                3600 )          ;minimum
>
>                        ns      ns.achim-a.inflpr.ro.
>
>
>erika                   a       192.168.3.7
>ns                      a       192.168.3.1
>hajnalka                a       193.231.44.98                        
>===========================================================================
>achim.rev
>=========================================================================
>; 3.168.192.in-addr.arpa
>$TTL 3600
>@               in      soa     achim-a.inflpr.ro. root.achim-a.inflpr.ro. (
>                                1993050801      ;serial
>                                3600            ;refresh
>                                1800            ;retry
>                                604800          ;expiration
>                                3600 )          ;minimum
>
>                        ns      ns.achim-a.inflpr.ro.
>
>1                       ptr     ns.achim-a.inflpr.ro.
>7                       ptr     erika.achim-a.inflpr.ro
>============================================================================
>
>Thank a lot
>Alexandru
>
>
>
>
>
>  
>




More information about the bind-users mailing list