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