Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 532
  • Last Modified:

Configuring dns in ubuntu

I have configured DNS serve in Ubuntu,apparently it is not working properly. I cannot tell what is missing.
Any help will be very much appreciated.
dnsdnsdnsdnsdnsdnsdns
0
jskfan
Asked:
jskfan
  • 3
  • 3
  • 2
4 Solutions
 
N-WCommented:
By default, BIND should log any errors to /var/log/messages. As the service is failing to start, there should be entries in the log to specify what's going wrong.

Can you try to start the service again and post any errors from the log?
0
 
gheistCommented:
You can always type named-checkconf -z
And try to paste text, i did not read past 2 images.
0
 
jskfanAuthor Commented:
after I ran this command:
named-checkconf -z

dns
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
N-WCommented:
You missing closing quotation marks in your named.conf.local file.
Change this:
file "/etc/bind/test.local.zone;

Open in new window

to this:
file "/etc/bind/test.local.zone";

Open in new window

0
 
jskfanAuthor Commented:
Correct! it worked…
nslookup works for Name to IP resolution but not the other way around..

dns
0
 
N-WCommented:
In your named.conf.local file, you specify that the reverse zone file is "zone.rev":
file "/etc/bind/zone.rev";

Open in new window

but in your screenshot, the file is called "rev.zone". These need to match.
0
 
jskfanAuthor Commented:
I corrected the rev.zone file name and restarted the bind9 service…and now it is working
0
 
gheistCommented:
you need to reload bind service for zone change, then there is no unserviced packets
restart is for patching and configuration changes
0

Featured Post

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now