Article 59QCQ [SOLVED] Help me! dig status NXDOMAIN

[SOLVED] Help me! dig status NXDOMAIN

by
anamnedelcu
from LinuxQuestions.org on (#59QCQ)
Hello,

I configured a DNS server on a VM and when i try to dig on the client side I get status: NXDOMAIN and no answer. What may be the problem?

Server VM (static ip address 192.168.101.1)

/etc/bind/named.conf.local


zone "project.local" IN {
type master;
file "/etc/bind/forward.project.local";

};
zone "101.168.192.in-addr.arpa" IN {
type master;
file "/etc/bind/reverse.project.local";
};

/etc/bind/forward.project.local

$TTL 604800
@ IN SOA ns.project.local. root.project.local. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.project.local.
@ IN A 192.168.101.1
ns IN A 192.168.101.1

/etc/bind/reverse.project.local

$TTL 604800
@ IN SOA ns.project.local. root.project.local. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.project.local.
1 IN PTR project.local

Client VM
/etc/resolv.conf
nameserver 192.168.101.1
nameserver 127.0.1.1
search project.locallatest?d=yIl2AUoC8zA latest?i=laAqITDpk7I:3fRHgfGsn8Q:F7zBnMy latest?i=laAqITDpk7I:3fRHgfGsn8Q:V_sGLiP latest?d=qj6IDK7rITs latest?i=laAqITDpk7I:3fRHgfGsn8Q:gIN9vFwlaAqITDpk7I
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments