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.

-----Original Message-----
From: bind-users-bounces+jlightner=water....@lists.isc.org
[mailto:bind-users-bounces+jlightner=water....@lists.isc.org] On Behalf
Of Cefull Lo
Sent: Tuesday, February 23, 2010 9:42 AM
To: bind-users@lists.isc.org
Subject: no hostname become unresolvable.

Hi everybody,

I just setup my dns using bind-9.6.1-P2

when I try to ping the server with a hostname, that's ok.
i.e.
#ping www.superease.net
PING www.superease.net (202.68.195.36) 56(84) bytes of data.

But when I try to ping the server without hostname, 

#ping superease.net
ping: unknown host superease.net

Can someone tell me what's up?!?!?!?

Here the zone file

$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.
www             IN      A       202.68.195.36
z               IN      A       202.131.69.99
service         IN      A       202.131.69.98
news            IN      A       202.131.69.98
*               IN      CNAME   www
 
Proud partner. Susan G. Komen for the Cure.
 
Please consider our environment before printing this e-mail or attachments.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential 
information and is for the sole use of the intended recipient(s). If you are 
not the intended recipient, any disclosure, copying, distribution, or use of 
the contents of this information is prohibited and may be unlawful. If you have 
received this electronic transmission in error, please reply immediately to the 
sender that you have received the message in error, and delete it. Thank you.
----------------------------------
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to