Solved

Configuring dns in ubuntu

Posted on 2014-03-10
8
512 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

739 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