fedora-list Digest, Vol 12, Issue 126
Eric Vought, Technical Director
evought at diversityink.com
Mon Feb 7 18:40:18 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
|
| I've tried unsuccessfully to set up a DNS server using the GUI (or any
other
| method). I add a domain, a host record, save and restart named and when I
| try to resolve the name it says it can't find it.
|
| Can someone point me in the right direction?
|
| Frank
As another poster said, check your /etc/resolv.conf entries. Another way
to go about it is to specify the name server you want to query against:
host test.mytestdomain.snu ns1.mydomain.snu
The second hostname is the nameserver to use. It can be 127.0.0.1 (or
"localhost") for the local nameserver. I often set up the nameserver
remotely, so at my desktop, I use this type of command to make sure my
query goes where it should.
Now, if it fails to look up a host, try a standard query to see if it
can return *anything*:
host -t ns mytestdomain.snu
This should return the nameservers for the domain. If this works, the
entry for your host is probably wrong in your zone file.
If this does not work, and, in particular, if the response is something
like "No name servers found for ...", check your log file to see if the
nameserver loaded correctly. You should have something like:
Feb 6 15:18:41 waveform1 named[4870]: zone mytestdomain.snu/IN: loaded
serial 2005012901
in /var/log/messages. If not, you have not configured named to load the
zone or there may be syntax errors reported here.
I almost always do a
tail -f /var/log/messages
in another window while setting up new zones so I can watch named load
and catch errors quickly.
Have fun,
- --
Eric Vought
Technical Director,
Diversity Ink, Morgan Family Enterprises
Web Hosting and Site Design for Small Business and Not-for-Profit
(http://www.diversityink.com)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCB7YSGqlqMhx2Xb0RAj4qAJ9Qqe2BqLDYb7z2GmcPD/hrfONF9wCgk/Bu
g8ItgFinf7nMlzbB/ZeeD4k=
=ykpz
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: evought.vcf
Type: text/x-vcard
Size: 223 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050207/94691ed0/attachment-0001.vcf>
More information about the fedora-list
mailing list