-----Original Message----- From: Sunny [mailto:sloncho@gmail.com] Sent: Tuesday, May 23, 2006 10:51 AM To: SuSE List Subject: Re: [SLE] DNS server configuration - root of the domain howto?
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 :)
Sunny, It's this line: IN A 217.8.216.11 for a specific host within the domain, it would read somehost IN A aaa.bbb.ccc.ddd Leaving out the "somehost" part tells it to resolve the domain with no hostname to that address.