On 5/23/06, Per Jessen wrote:
Sunny wrote:
I need to prepare a DNS server as master for our domain. So far I succeed to do whatever I need, but do not know how to assign an IP address for the root of the domain, i.e. I know how to do serv1.mydomain.com, serv2.mydomain.com, etc., but how do I assign IP for "mydomain.com" only?
Here's an example:
$TTL 86400 ; 24 hours $ORIGIN jessen.ch. @ IN SOA ns1.enidan.ch. hostmaster.enidan.ch. ( 2006051000 ; serial 28800 ; refresh (8 hours) 7200 ; retry (2 hours) 604800 ; expire (1 week) 86400 ; minimum (1 day) ) IN TXT "v=spf1 ip4:217.8.216.8/29 -all"
IN NS ns1.enidan.ch. IN NS ns2.enidan.ch.
IN MX 0 bulwark.spamchek.net.
IN A 217.8.216.11 www IN CNAME jessen.ch.
localhost IN A 127.0.0.1
/Per Jessen, Zürich
Thanks Per, would you tell me which exact line defines the resolving of the host without anything before the domain name? Looks like I can not understand :) -- -- Svetoslav Milenov (Sunny) Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.