Problem when Pinging domain nameserver
Gregory Nowak
greg at romuald.net.eu.org
Sat Feb 16 17:37:53 EST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The hosts file is meant as a way of resolving machines on a small
local network, if you don't use a nameserver. Since you are running a
nameserver, ideally, the only entry in /etc/hosts should be for
127.0.0.1, localhost.
As for your resolv.conf, following your previous example, we'll assume
your domain is example.com, and that your name servers are
ns1.example.com (10.0.0.1), and ns2.example.com (10.0.0.2). So, with that in mind, your
/etc/resolv.conf should look like:
search example.com
nameserver 10.0.0.1
nameserver 10.0.0.2
Hth.
Greg
On Sat, Feb 16, 2008 at 05:02:40PM -0500, Daniel C wrote:
> I've acutally did some more research. Turns out that he only reason that I
> was even allowed to ping my name server, or what I thought was mine, was
> because resolv.conf had at the top:
> Search net
> Then below that, the nameserver addresses. I removed search net from
> resolv.conf and changed the hosts file to read as:
> 127.0.0.1 localhost
> 67.35.73.178 danielcproductions.net
> 10.1.110.101 web01.danielcproductions.net
> Hopefully I didn't screw anything up by making those changes.
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.20.6/1282 - Release Date: 2/15/2008
> 7:08 PM
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
- --
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
- --
Free domains: http://www.eu.org/ or mail dns-manager at EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHt2XB7s9z/XlyUyARAhabAJ9whLpJDKOWI2CEkOqdDYDqDBUQfgCeLwB0
a5hyTgYwy4OjTpXjMCNfDVA=
=SQMo
-----END PGP SIGNATURE-----
More information about the Speakup
mailing list