Re: no hostname become unresolvable.

2010-02-23 Thread Jeremy C. Reed
> @   IN  MX 10   mail.man169.com.

Try adding here:

@   IN  A   202.68.195.36

> www IN  A   202.68.195.36___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

RE: no hostname become unresolvable.

2010-02-23 Thread Lightner, Jeff
Right - Thanks for pointing it out.

I inherited a lot of zones and never went back and changed them.  The @
is something I do use in alias zones - we have a couple hundred domains
and many of them go to the same IP and using @ I'm able to use a single
zone file to incorporate the ones that all go to the same IP for the
domain.

-Original Message-
From: Stephane Bortzmeyer [mailto:bortzme...@nic.fr] 
Sent: Tuesday, February 23, 2010 10:01 AM
To: Lightner, Jeff
Cc: Cefull Lo; bind-users@lists.isc.org
Subject: Re: no hostname become unresolvable.

On Tue, Feb 23, 2010 at 09:50:29AM -0500,
 Lightner, Jeff  wrote 
 a message of 66 lines which said:

> superease.net.   IN  A   202.68.195.36
...
> The dot is important

Using @ would be simpler and would allow the zone file to be used for
other zones as well.

http://www.bortzmeyer.org/identical-domains-with-bind.html
 
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


Re: no hostname become unresolvable.

2010-02-23 Thread Stephane Bortzmeyer
On Tue, Feb 23, 2010 at 09:50:29AM -0500,
 Lightner, Jeff  wrote 
 a message of 66 lines which said:

> superease.net.   IN  A   202.68.195.36
...
> The dot is important

Using @ would be simpler and would allow the zone file to be used for
other zones as well.

http://www.bortzmeyer.org/identical-domains-with-bind.html
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: no hostname become unresolvable.

2010-02-23 Thread Sam Wilson
In article ,
 "Lightner, Jeff"  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@lists.isc.org
> [mailto:bind-users-bounces+jlightner=water@lists.isc.org] On Behalf
> Of Cefull Lo
>   :
>   :
> $TTL86400
> $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.]
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: no hostname become unresolvable.

2010-02-23 Thread Stephane Bortzmeyer
On Tue, Feb 23, 2010 at 10:41:37PM +0800,
 Cefull Lo  wrote 
 a message of 89 lines which said:

> But when I try to ping the server without hostname,

[Technicality: there *is* a hostname, superease.net *is* an hostname.]

> Here the zone file

There is no A or  record for @ (superease.net).
 
> @   IN  NS  dns1.man169.com.
> @   IN  NS  dns2.man169.com.
> @   IN  MX 10   mail.man169.com.

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


RE: no hostname become unresolvable.

2010-02-23 Thread Lightner, Jeff
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

$TTL86400
$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
newsIN  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


no hostname become unresolvable.

2010-02-23 Thread Cefull Lo
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

$TTL86400
$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
newsIN  A   202.131.69.98
*   IN  CNAME   www
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users