Solved

Configuring dns in ubuntu

Posted on 2014-03-10
8
508 Views
Last Modified: 2014-03-11
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
Comment
Question by:jskfan
  • 3
  • 3
  • 2
8 Comments
 
LVL 8

Assisted Solution

by:N-W
N-W earned 375 total points
ID: 39919108
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
 
LVL 62

Assisted Solution

by:gheist
gheist earned 125 total points
ID: 39919235
You can always type named-checkconf -z
And try to paste text, i did not read past 2 images.
0
 

Author Comment

by:jskfan
ID: 39919257
after I ran this command:
named-checkconf -z

dns
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 8

Assisted Solution

by:N-W
N-W earned 375 total points
ID: 39919281
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
 

Author Comment

by:jskfan
ID: 39919418
Correct! it worked…
nslookup works for Name to IP resolution but not the other way around..

dns
0
 
LVL 8

Accepted Solution

by:
N-W earned 375 total points
ID: 39919425
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
 

Author Closing Comment

by:jskfan
ID: 39920176
I corrected the rev.zone file name and restarted the bind9 service…and now it is working
0
 
LVL 62

Expert Comment

by:gheist
ID: 39920201
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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question