Solved

Configuring dns in ubuntu

Posted on 2014-03-10
8
490 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
Comment Utility
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 61

Assisted Solution

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

Author Comment

by:jskfan
Comment Utility
after I ran this command:
named-checkconf -z

dns
0
 
LVL 8

Assisted Solution

by:N-W
N-W earned 375 total points
Comment Utility
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:jskfan
Comment Utility
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
Comment Utility
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
Comment Utility
I corrected the rev.zone file name and restarted the bind9 service…and now it is working
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Which NIC is live in Win/Linux? 25 70
linux date/time setting via python 6 36
Trying to make SNMP connection work 7 39
Public DNS 2 28
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now