Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Bind Configuration and integration

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
mauric
Posts: 43
Joined: 2017-07-25 08:50

Bind Configuration and integration

#1 Post by mauric »

Hello

I have here a Debian 9.5 machine that i Need to run as internal Network DNS Server, the old one are running bad so i need to install now a new one.
Please after googling and see and found alot of diffrent instruction i conclusing that this arn't running like me desideration,

so its possible you know any good running instruction help, without to read and study book's about the World and DNS.

sudo install bind9 bind9-docs
/etc/bind/
here i need to configure forrward and reverse table.

Thanks and hoping for your help!
regards


mauric
Posts: 43
Joined: 2017-07-25 08:50

Re: Bind Configuration and integration - bad dotted quad

#3 Post by mauric »

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



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

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


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

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

n@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



n@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
n@X200:~$


n@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 mauristation10.fin.local.

Thanks

Post Reply