Config Bind9 Server cant find NXDOMAIN

New to Debian (Or Linux in general)? Ask your questions here!

Config Bind9 Server cant find NXDOMAIN

Postby mauric » 2018-06-23 20:39

Hello

Please today i installed Bind9 and configured, but if try to make any Nslookup to hostname i dont have success.
little help are apprecated. Forrwarding and revers i have installed and configured.
Thanks
m
--

m@X200:/etc/bind$ nslookup x200
Server:127.0.0.1
Address:127.0.0.1#53

** server can't find x200: NXDOMAIN

--
m@X200:/etc/bind$ cat db.cal.local
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA x200.cal.local. root.localhost. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS x200.cal.local.
x200 IN A 192.168.1.108

; Below are A Record Addresses
npi2eaf3c IN A 192.168.1.12

----

m@X200:/etc/bind$ cat db.192
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA x200.cal.local. root.cal.local. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS x200.
108 IN PTR x200.cal.local.

12 IN PTR npi2eaf3c.cal.local.


---
m@X200: ping NPI2EAF3C
PING NPI2EAF3C (192.168.1.12) 56(84) bytes of data.
64 bytes from NPI2EAF3C (192.168.1.12): icmp_seq=1 ttl=60 time=9.07 ms
64 bytes from NPI2EAF3C (192.168.1.12): icmp_seq=2 ttl=60 time=3.97 ms

m@X200: # nslookup npi2eaf3c
Server: 127.0.0.1
Address: 127.0.0.1#53

** server can't find npi2eaf3c: NXDOMAIN
mauric
 
Posts: 26
Joined: 2017-07-25 08:50

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable