Score:0

Fedora Server NSlookup error when running DNS

cn flag

So I have 2 VMs (Fedora 24 Server and its Client).

I am trying to run DNS in Server and get output in Client.

The DNS of my client is IP of Server, All of them are on same Class of network with is 192.168.95.0/24

IP of Server - 192.168.95.1 IP of Client - 192.168.95.50

DNS is ON in Server and firewall is disable in both VM

I have changed named.conf file as well Check Screenshot named.conf file

I am getting >>this error while passing command in Fedora Client ->Error Image in Client

Please someone assist me.

Score:1
in flag

Try to isolate the issue :

Server side

All your config files are correct ?

  • Run named-checkconf

Do you see some errors in the logs ?

  • Run journalctl -u named

Could you resolve on the DNS server (not the client) ?

  • Run dig @127.0.0.1 YOUR-LOCAL-ADDRESS or nslookup YOUR-LOCAL-ADDRESS 127.0.0.1
  • Run dig @127.0.0.1 google.com or nslookup google.com 127.0.0.1

Client side

The DNS address is correct in your network settinfgs ? If you try to resolve google.com ?

  • Run with default DNS nslookup google.com
  • Force your DNS server nslookup google.com 192.168.95.1
Patel avatar
cn flag
So I figured out what was wrong.
Patel avatar
cn flag
Thank You So much
Score:0
cn flag

My primary NIC PORT was also enabled in Server-side which was creating conflict.

After disabling both side ports I got my nslookup command working

Thank you for your help.

1F987 avatar
in flag
Please accept my answer if it helped you. Thanks!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.