Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-15-2007, 05:52 PM   #1
LQ Newbie
Registered: Oct 2005
Posts: 8

Rep: Reputation: 0
Setup DNS server on Ubuntu 7.04 Server edition using Bind 9

I followed the tutorial I found here:

to setup dns server on my Ubuntu 7.04 Server edition. But I got ANSWER:0 when I do dig mydomain and can't find mydomain when I do nslookup. Below is the result of both dig and nslookup. I would appreciate if anyone could point me to the problem and how to fix it. Thank you very much.

home@ubuntu:/$ dig mydomain

; <<>> DiG 9.3.4 <<>> mydomain
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47194
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;mydomain.                      IN      A

mydomain.               38400   IN      SOA     ns1.mydomain. admin.mydomain. 2006081401 28800 3600 604800 38400

;; Query time: 2 msec
;; WHEN: Sun Sep 16 11:23:51 2007
;; MSG SIZE  rcvd: 72

home@ubuntu:/$ nslookup mydomain

*** Can't find mydomain: No answer
Old 09-16-2007, 01:15 AM   #2
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Maybe post your BIND configuration?
Old 09-16-2007, 04:36 AM   #3
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
run named-checkzone zone_name zone_file


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: DNS server Setup using bind in Ubuntu LXer Syndicated Linux News 0 05-03-2007 01:16 AM
Setting up BIND DNS server on Ubuntu server tanu221984 Linux - Software 2 04-13-2007 12:36 PM
How do I setup a Bind DNS Server Wynand1 Linux - Networking 1 05-29-2006 04:44 PM
BIND DNS Setup on new server brooky Linux - General 0 04-03-2004 10:54 AM
need help to setup dns server with bind 9.1.0 joseph Linux - General 7 09-01-2003 02:11 AM

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration