HOSTS file configuration
Steve
smorrey at gmail.com
Wed Sep 14 05:46:16 MDT 2005
Matthew Ross Walker wrote:
>Hans Fugal wrote:
>
>
>>>I can't seem to find anything about the "traditional" order for a hosts
>>>file. If someone could, post one that would be great.
>>>Anyways thanks for the help.
>>>
>>>
>>Well I don't know that there would be, but generally people do the SOA,
>>the A record for example.com (where example.com is your domain), and
>>then things like NS and MX records. Finally they do the hosts. There's
>>nothing magic about this though, it just happens to A) make more sense,
>>and B) allow you to use a few tricks that cut down on the typing.
>>
>>
>>
>
>I typically do it in this order:
>
>SOA
>NS Records
>A Record for Domain
>MX Records
>Everything else, in alphabetic order
>
>
>------------------------------------------------------------------------
>
>
>/* PLUG: http://plug.org, #utah on irc.freenode.net
> * Unsubscribe: http://plug.org/mailman/options/plug
> */
>
So ideally it should look like this then?
$ttl 300
biocoin.com. IN SOA ns1.biocoin.com. smorrey.gmail.com. (
1126368331
3000
3600
3000
3000 )
ns1.biocoin.com. IN A 69.60.117.0
ns2.biocoin.com. IN A 69.60.117.0
biocoin.com. IN NS ns1.biocoin.com.
biocoin.com. IN NS ns2.biocoin.com.
biocoin.com. IN A 69.60.117.0
www.biocoin.com. IN A 69.60.117.0
biocoin.com. IN MX 1 mail.biocoin.com.
mail.biocoin.com. IN A 69.60.117.0
More information about the PLUG
mailing list