Discussion:
Beginner - Bind - Bad dotted quad
Maurizio Caloro
2018-09-24 03:40:58 UTC
Permalink
Hello together

Iam new to this group and i have a little understanding and implementation
problem form e new bind 9.11 DNS Server.

Please can i ask here for help.



I see on syslog that me error are <bad dotted quad"

Yes this are useful. now after configure this i see that Revers will run but
a normal Ping or Nslookup dont find the host
this are a testing envoirement, after I understond this, I need to implement
on a realy system.



Thanks and best regards






***@X200:~$ nslookup hp4000.fin.local
Server: 127.0.0.1
Address: 127.0.0.1#53

** server can't find hp4000.fin.local: NXDOMAIN


***@X200:~$ nslookup 192.168.1.12
12.1.168.192.in-addr.arpa name = hp4000.fin.local.

***@X200:~$ host 192.168.1.12
12.1.168.192.in-addr.arpa domain name pointer hp4000.fin.local.

***@X200:~$ ping hp4000
ping: hp4000: Name or service not known

Sep 23 10:53:34 X200 named[2989]: zone 0.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 255.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 192.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 1.168.192.in-addr.arpa/IN: loaded
serial 2
Sep 23 10:53:34 X200 named[2989]: dns_rdata_fromtext: /etc/bind/db.fin:17:
near 'hp4000.': bad dotted quad
Sep 23 10:53:34 X200 named[2989]: zone x200.fin.local/IN: loading from
master file /etc/bind/db.fin failed: bad dotted quad
Sep 23 10:53:34 X200 named[2989]: zone x200.fin.local/IN: not loaded due to
errors.
Sep 23 10:53:34 X200 named[2989]: all zones loaded
Sep 23 10:53:34 X200 named[2989]: running
Sep 23 10:53:35 X200 named[2989]: managed-keys-zone: Key 19036 for zone .
acceptance timer complete: key now trusted
Sep 23 10:53:35 X200 named[2989]: managed-keys-zone: Key 20326 for zone .
acceptance timer complete: key now trusted
Sep 23 10:53:35 X200 named[2989]: resolver priming query complete



***@X200:~$ cat /etc/bind/db.fin
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA x200.fin.local. root.fin.local. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS x200.fin.local.
@ IN A 192.168.1.159
x200 IN A 192.168.1.159
www IN A 192.168.1.159
pfsense IN A 192.168.1.1
hp4000 IN A 192.168.1.12
nstation10 IN A 192.168.1.104
***@X200:~$


***@X200:/etc/bind$ cat db.finreverse
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA x200.fin.local. root.fin.local. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS x200.fin.local.
159 IN PTR ns.fin.local.
1 IN PTR pfsense.fin.local.
12 IN PTR hp4000.fin.local.
104 IN PTR nstation10.fin.local.
Browne, Stuart via bind-users
2018-09-24 04:28:42 UTC
Permalink
From my reading of the error message and the zone data provided, they don't match.

The error is stating near db.fin line 17 that the label is 'hp4000.' (note the full-stop); this doesn't appear to be the case with the pasted data.

Did you modify the zone data before pasting it in (i.e. mask some names or ip addresses or something?)

Stuart

From: bind-users [mailto:bind-users-***@lists.isc.org] On Behalf Of Maurizio Caloro
Sent: Monday, 24 September 2018 1:41 PM
To: bind-***@lists.isc.org
Subject: Beginner - Bind - Bad dotted quad

Hello together
Iam new to this group and i have a little understanding and implementation problem form e new bind 9.11 DNS Server.
Please can i ask here for help.

I see on syslog that me error are <bad dotted quad"

Yes this are useful... now after configure this i see that Revers will run [:-)] but a normal Ping or Nslookup dont find the host
this are a testing envoirement, after I understond this, I need to implement on a realy system.
Thanks and best regards



***@X200:~$ nslookup hp4000.fin.local
Server: 127.0.0.1
Address: 127.0.0.1#53

** server can't find hp4000.fin.local: NXDOMAIN


***@X200:~$ nslookup 192.168.1.12
12.1.168.192.in-addr.arpa name = hp4000.fin.local.

***@X200:~$ host 192.168.1.12
12.1.168.192.in-addr.arpa domain name pointer hp4000.fin.local.

***@X200:~$ ping hp4000
ping: hp4000: Name or service not known

Sep 23 10:53:34 X200 named[2989]: zone 0.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 255.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 192.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 1.168.192.in-addr.arpa/IN: loaded serial 2
Sep 23 10:53:34 X200 named[2989]: dns_rdata_fromtext: /etc/bind/db.fin:17: near 'hp4000.': bad dotted quad
Sep 23 10:53:34 X200 named[2989]: zone x200.fin.local/IN: loading from master file /etc/bind/db.fin failed: bad dotted quad
Sep 23 10:53:34 X200 named[2989]: zone x200.fin.local/IN: not loaded due to errors.
Sep 23 10:53:34 X200 named[2989]: all zones loaded
Sep 23 10:53:34 X200 named[2989]: running
Sep 23 10:53:35 X200 named[2989]: managed-keys-zone: Key 19036 for zone . acceptance timer complete: key now trusted
Sep 23 10:53:35 X200 named[2989]: managed-keys-zone: Key 20326 for zone . acceptance timer complete: key now trusted
Sep 23 10:53:35 X200 named[2989]: resolver priming query complete



***@X200:~$ cat /etc/bind/db.fin
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA x200.fin.local. root.fin.local. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS x200.fin.local.
@ IN A 192.168.1.159
x200 IN A 192.168.1.159
www IN A 192.168.1.159
pfsense IN A 192.168.1.1
hp4000 IN A 192.168.1.12
nstation10 IN A 192.168.1.104
***@X200:~$


***@X200:/etc/bind$ cat db.finreverse
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA x200.fin.local. root.fin.local. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS x200.fin.local.
159 IN PTR ns.fin.local.
1 IN PTR pfsense.fin.local.
12 IN PTR hp4000.fin.local.
104 IN PTR nstation10.fin.local.
Maurizio Caloro
2018-09-24 04:41:17 UTC
Permalink
Hello Stuart

Thanks for your quick answer... no this are a new installation of bind. and
i have problem to integrate this right.
Post by Browne, Stuart via bind-users
From my reading of the error message and the zone data provided, they don't
match.



The error is stating near db.fin line 17 that the label is 'hp4000.' (note
the full-stop); this doesn't appear to be the case with the pasted data.



Did you modify the zone data before pasting it in (i.e. mask some names or
ip addresses or something?)



Stuart



Von: bind-users <bind-users-***@lists.isc.org> Im Auftrag von Maurizio
Caloro
Gesendet: Montag, 24. September 2018 05:41
An: bind-***@lists.isc.org
Betreff: Beginner - Bind - Bad dotted quad



Hello together

Iam new to this group and i have a little understanding and implementation
problem form e new bind 9.11 DNS Server.

Please can i ask here for help.



I see on syslog that me error are <bad dotted quad"

Yes this are useful. now after configure this i see that Revers will run but
a normal Ping or Nslookup dont find the host
this are a testing envoirement, after I understond this, I need to implement
on a realy system.

Thanks and best regards






***@X200:~$ nslookup hp4000.fin.local
Server: 127.0.0.1
Address: 127.0.0.1#53

** server can't find hp4000.fin.local: NXDOMAIN


***@X200:~$ nslookup 192.168.1.12
12.1.168.192.in-addr.arpa name = hp4000.fin.local.

***@X200:~$ host 192.168.1.12
12.1.168.192.in-addr.arpa domain name pointer hp4000.fin.local.

***@X200:~$ ping hp4000
ping: hp4000: Name or service not known

Sep 23 10:53:34 X200 named[2989]: zone 0.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 255.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 192.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 1.168.192.in-addr.arpa/IN: loaded
serial 2
Sep 23 10:53:34 X200 named[2989]: dns_rdata_fromtext: /etc/bind/db.fin:17:
near 'hp4000.': bad dotted quad
Sep 23 10:53:34 X200 named[2989]: zone x200.fin.local/IN: loading from
master file /etc/bind/db.fin failed: bad dotted quad
Sep 23 10:53:34 X200 named[2989]: zone x200.fin.local/IN: not loaded due to
errors.
Sep 23 10:53:34 X200 named[2989]: all zones loaded
Sep 23 10:53:34 X200 named[2989]: running
Sep 23 10:53:35 X200 named[2989]: managed-keys-zone: Key 19036 for zone .
acceptance timer complete: key now trusted
Sep 23 10:53:35 X200 named[2989]: managed-keys-zone: Key 20326 for zone .
acceptance timer complete: key now trusted
Sep 23 10:53:35 X200 named[2989]: resolver priming query complete



***@X200:~$ cat /etc/bind/db.fin
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA x200.fin.local. root.fin.local. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS x200.fin.local.
@ IN A 192.168.1.159
x200 IN A 192.168.1.159
www IN A 192.168.1.159
pfsense IN A 192.168.1.1
hp4000 IN A 192.168.1.12
nstation10 IN A 192.168.1.104
***@X200:~$


***@X200:/etc/bind$ cat db.finreverse
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA x200.fin.local. root.fin.local. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS x200.fin.local.
159 IN PTR ns.fin.local.
1 IN PTR pfsense.fin.local.
12 IN PTR hp4000.fin.local.
104 IN PTR nstation10.fin.local.
Matus UHLAR - fantomas
2018-09-24 10:01:34 UTC
Permalink
Post by Maurizio Caloro
12.1.168.192.in-addr.arpa name = hp4000.fin.local.
12.1.168.192.in-addr.arpa domain name pointer hp4000.fin.local.
ping: hp4000: Name or service not known
this is local resolution problem. Your resolver is not configured to search
in "fin.local" domain. put "fin.local" into searchlist in /etc/resolv.conf.
Post by Maurizio Caloro
Sep 23 10:53:34 X200 named[2989]: zone 0.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 255.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 192.in-addr.arpa/IN: loaded serial 1
Sep 23 10:53:34 X200 named[2989]: zone 1.168.192.in-addr.arpa/IN: loaded
serial 2
near 'hp4000.': bad dotted quad
look at:
https://askubuntu.com/questions/673783/bad-dotted-quad-dns

When I copied and pasted the above text into Vim, I could see that Line 13
contains a ZERO WIDTH NO-BREAK SPACE just preceding the 1.1.1.1 IP address
so the address is not considered to be a valid IPv4 address (Line 14 also
contains the same character).
Post by Maurizio Caloro
Sep 23 10:53:34 X200 named[2989]: zone x200.fin.local/IN: loading from
master file /etc/bind/db.fin failed: bad dotted quad
Sep 23 10:53:34 X200 named[2989]: zone x200.fin.local/IN: not loaded due to
errors.
note that the zone you are trying to load is "x200.fin.local" and thus has
nothing to do with "fin.local" zone.
Post by Maurizio Caloro
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA x200.fin.local. root.fin.local. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS x200.fin.local.
@ IN A 192.168.1.159
x200 IN A 192.168.1.159
www IN A 192.168.1.159
pfsense IN A 192.168.1.1
hp4000 IN A 192.168.1.12
there's apparently invalid space character on the line above.
Post by Maurizio Caloro
nstation10 IN A 192.168.1.104
--
Matus UHLAR - fantomas, ***@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Your mouse has moved. Windows NT will now restart for changes to take
to take effect. [OK]
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Maurizio Caloro
2018-09-24 21:49:16 UTC
Permalink
Hello Matus and Thanks!

After setup from scratch now me Bind DNS Server are running
Ok .... i have see my problem, Thanks for your Help! This was realy good!

cat db.caloro
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA caloro.local. root.caloro.local. (
3 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
IN NS ns.caloro.local.
ns IN A 192.168.1.159
x200 IN A 192.168.1.159
pfsense IN A 192.168.1.1
hp4000 IN A 192.168.1.12
mauristation10 IN A 192.168.1.104

cat db.calororeverse
***@X200:/etc/bind$ cat db.calororeverse
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA caloro.local. root.caloro.local. (
3 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
IN NS ns.caloro.local.
159 IN PTR ns.caloro.local
159 IN PTR x200
1 IN PTR pfsense
12 IN PTR hp4000
104 IN PTR mauristation10
***@X200:/etc/bind$

***@X200:/etc/bind$ ping hp4000
PING hp4000.caloro.local (192.168.1.12) 56(84) bytes of data.
64 bytes from hp4000.1.168.192.in-addr.arpa (192.168.1.12): icmp_seq=1
ttl=60 time=1.30 ms
64 bytes from hp4000.1.168.192.in-addr.arpa (192.168.1.12): icmp_seq=2
ttl=60 time=1.35 ms

***@X200:/etc/bind$ nslookup hp4000
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: hp4000.caloro.local
Address: 192.168.1.12


-----Ursprüngliche Nachricht-----
Von: bind-users <bind-users-***@lists.isc.org> Im Auftrag von Matus
UHLAR - fantomas
Gesendet: Montag, 24. September 2018 12:02
An: bind-***@lists.isc.org
Betreff: Re: Beginner - Bind - Bad dotted quad
Post by Maurizio Caloro
12.1.168.192.in-addr.arpa name = hp4000.fin.local.
12.1.168.192.in-addr.arpa domain name pointer hp4000.fin.local.
ping: hp4000: Name or service not known
this is local resolution problem. Your resolver is not configured to search
in "fin.local" domain. put "fin.local" into searchlist in /etc/resolv.conf.
Post by Maurizio Caloro
Sep 23 10:53:34 X200 named[2989]: zone 0.in-addr.arpa/IN: loaded serial
1 Sep 23 10:53:34 X200 named[2989]: zone 255.in-addr.arpa/IN: loaded
loaded serial 1 Sep 23 10:53:34 X200 named[2989]: zone
1.168.192.in-addr.arpa/IN: loaded serial 2 Sep 23 10:53:34 X200
near 'hp4000.': bad dotted quad
look at:
https://askubuntu.com/questions/673783/bad-dotted-quad-dns

When I copied and pasted the above text into Vim, I could see that Line 13
contains a ZERO WIDTH NO-BREAK SPACE just preceding the 1.1.1.1 IP address
so the address is not considered to be a valid IPv4 address (Line 14 also
contains the same character).
Post by Maurizio Caloro
Sep 23 10:53:34 X200 named[2989]: zone x200.fin.local/IN: loading from
master file /etc/bind/db.fin failed: bad dotted quad Sep 23 10:53:34
X200 named[2989]: zone x200.fin.local/IN: not loaded due to errors.
note that the zone you are trying to load is "x200.fin.local" and thus has
nothing to do with "fin.local" zone.
Post by Maurizio Caloro
;
x200.fin.local. root.fin.local. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS x200.fin.local.
@ IN A 192.168.1.159
x200 IN A 192.168.1.159
www IN A 192.168.1.159
pfsense IN A 192.168.1.1
hp4000 IN A 192.168.1.12
there's apparently invalid space character on the line above.
Post by Maurizio Caloro
nstation10 IN A 192.168.1.104
--
Matus UHLAR - fantomas, ***@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Your mouse has moved. Windows NT will now restart for changes to take to
take effect. [OK] _______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to
unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Loading...