Re: fedora-list Digest, Vol 12, Issue 126

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----
begin:vcard
fn:Eric Vought
n:Vought;Eric
org:Diversity Ink
adr;dom:;;;Republic;MO
email;internet:evought@xxxxxxxxxxxxxxxx
title:Technical Director
x-mozilla-html:FALSE
url:http://www.diversityink.com
version:2.1
end:vcard


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux