Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently made some minor changes to my forward and reverse lookup zones. I deleted old workstations that are no longer on my network.
I only have one master DNS server, and four other servers on the network.
When I type named-checkzone cseproject.net /var/named/forward.test
I receive: zone cseproject.net OK.
When I type named-checkzone cseproject.net /var/named/reverse.test
I receive: zone cseproject.net OK.
I type dig ns1.cseproject.net and I receive no error.
But, when I type dig -x <MyIPaddress>, I receive status: NXDOMAIN.
NXDOMAIN means that a domain does not exist. But, when I type dnsdomainname it shows my domain name cseproject.net. Whats going on, how can I fix this. I should be able to type dig -x <MyIPaddress> and I should receive no error as my status.
How can I fix this issue, or em I making an issue out of nothing?
The domain name isn't available to the Internet, my domain is only available in my intranet. Not sure if that's causing the NXDOMAIN error.
But, when I type dig -x <MyIPaddress>, I receive status: NXDOMAIN.
NXDOMAIN means that a domain does not exist. But, when I type dnsdomainname it shows my domain name cseproject.net.
dnsdomainname is getting is information from the system itself, so if your host is properly configured you will get the correct domain name, as expected.
dig send a query to one of the DNS servers listed in /etc/resolv.conf. I would recommend to check the content of that file first. On a system running a DNS server, the file should list 127.0.0.1 only.
You can also force dig to query a specific server, for instance a server at the IP address 192.168.1.1:
So far, I can successfully run dig @myIP A serverName.cseproject.net and receive no error for status.
I think for now my DNS server is doing its job. I have no DNS issues with other servers on my network.
Going to look into this further!! thanks for everyone's advise.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.