no hostname become unresolvable.
Sam Wilson
Sam.Wilson at ed.ac.uk
Tue Feb 23 14:57:40 UTC 2010
In article <mailman.538.1266936679.21153.bind-users at lists.isc.org>,
"Lightner, Jeff" <jlightner at water.com> wrote:
> You need an A record for the domain itself:
> superease.net. IN A 202.68.195.36
> www IN A 202.68.195.36
>
> The first one (terminated by the dot) tells it lookup for the domain
> name "superease.net" itself. The dot is important - without it this
> would try to lookup superease.net.superease.net.
>
> The second one www (without a dot) tells it to lookup www.superease.net
> by appending the domain to the entry.
Better yet use @, as the OP already does for NS and MX records - it
means "the current origin" as set by the zone name that the file is
loaded into from named.conf or as set by $ORIGIN (which is probably
superfluous in this case), and is shorter and easier to type.
Sam
> -----Original Message-----
> From: bind-users-bounces+jlightner=water.com at lists.isc.org
> [mailto:bind-users-bounces+jlightner=water.com at lists.isc.org] On Behalf
> Of Cefull Lo
> :
> :
> $TTL 86400
> $ORIGIN superease.net.
> @ IN SOA dns1.man169.com. root.dns1.man169.com. (
> 2010022307 ; serial (d.
> adams)
> 10800 ; refresh
> 900 ; retry
> 604800 ; expiry
> 86400 ) ; minimum
>
> @ IN NS dns1.man169.com.
> @ IN NS dns2.man169.com.
> @ IN MX 10 mail.man169.com.
> ... [etc.]
More information about the bind-users
mailing list