DNS Reverse File

Issues related to configuring your network
arslan
Posts: 1
Joined: 2017/11/02 16:32:55

DNS Reverse File

Postby arslan » 2017/11/02 16:49:12

I'm having an issue in my DNS. It is working fine my centos server but it is resolving my domain name.
My domain name is corvit.com
IP address of my server is 192.168.180.50
and the client IP is 192.168.180.53 (given by DHCP)
I have only 1 client right now. I'm working on a task given by my teacher so I'm not a professional network engineer.
When I lookup my DNS server from Centos this appear:

Server: 192.168.180.50
Address: 192.168.180.50#53

Name: corvit.com
Address: 192.168.180.50

but when i give the same command in my client system (my client is running on windows 7) (command*=nslookup)
i get this message:

Server: Unknown
address: 192.168.180.50

*** Unknown can't find corvit.com: Querry refused

if i missed any point here please do let me know. thanks :)

User avatar
TrevorH
Forum Moderator
Posts: 21162
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: DNS Reverse File

Postby TrevorH » 2017/11/02 18:02:38

Out of the box, named only listens on localhost, you have to change that to allow it to listen on the external ip. You'll also need to open the right ports in your firewall - either with firewall-cmd or the iptables command depending on which you use.

Windows also needs your dns server to have a record for its own ip address (the dns server ip not the windows one).
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke