Solved

Configuring dns in ubuntu

Posted on 2014-03-10
8
501 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Recipient domain does not exist in DNS 7 46
Office 365 - Change domain name uppercase/lowercase settings 2 42
Linux VM 6 88
linux 13 49
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 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