Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Probably a stupid question, but...

0 views
Skip to first unread message

Kevin T. Kang

unread,
Nov 14, 1996, 3:00:00 AM11/14/96
to

Ok, I'm a newbie to BIND and this is probably a stupid question, but
here it goes anyway. I am using the bind 4.9.4p1 from software.com with
Windows NT 4.0and I think I have it set up correctly except that I
cannot make it respond to mydomain.com which is samnet.com in my case.
When I do ping samnet.com in a command prompt window from my NT server,
I get "Bad IP address samnet.com." error, but pinging my hosts in my
network works fine. I do not have a IN A for samnet.com - do I need
one? - but I have an ip address that I like to have samnet.com respond
to. I used to use "SAMNET.COM CNAME MAILHOST.SAMNET.COM" but I'm not
supposed to do this right? So what do I need to do in order for for my
DNS to find samnet.com? Thanks in advance.

Kevin Kang
webm...@mailhost.samnet.com - since webm...@samnet.com does not work
right now.

Cricket Liu

unread,
Nov 20, 1996, 3:00:00 AM11/20/96
to

On Thu, 14 Nov 1996 09:18:01 -0600, "Kevin T. Kang"
<webm...@mailhost.samnet.com> wrote:

>Ok, I'm a newbie to BIND and this is probably a stupid question, but
>here it goes anyway. I am using the bind 4.9.4p1 from software.com with
>Windows NT 4.0and I think I have it set up correctly except that I
>cannot make it respond to mydomain.com which is samnet.com in my case.
>When I do ping samnet.com in a command prompt window from my NT server,
>I get "Bad IP address samnet.com." error, but pinging my hosts in my
>network works fine. I do not have a IN A for samnet.com - do I need
>one? - but I have an ip address that I like to have samnet.com respond
>to. I used to use "SAMNET.COM CNAME MAILHOST.SAMNET.COM" but I'm not
>supposed to do this right? So what do I need to do in order for for my
>DNS to find samnet.com? Thanks in advance.

Yup, if you're going to type "ping samnet.com," which will induce ping
to look up an IP address for samnet.com, then you'd better have an
address record attached to samnet.com. Something like:

samnet.com. IN A <IP address of mailhost.samnet.com>

should work fine.


Vincent Cordrey

unread,
Nov 22, 1996, 3:00:00 AM11/22/96
to

In article <328B38...@mailhost.samnet.com>,
webm...@mailhost.samnet.com wrote:

> Ok, I'm a newbie to BIND and this is probably a stupid question, but
> here it goes anyway. I am using the bind 4.9.4p1 from software.com with
> Windows NT 4.0and I think I have it set up correctly except that I
> cannot make it respond to mydomain.com which is samnet.com in my case.
> When I do ping samnet.com in a command prompt window from my NT server,
> I get "Bad IP address samnet.com." error, but pinging my hosts in my
> network works fine. I do not have a IN A for samnet.com - do I need
> one? - but I have an ip address that I like to have samnet.com respond
> to. I used to use "SAMNET.COM CNAME MAILHOST.SAMNET.COM" but I'm not
> supposed to do this right? So what do I need to do in order for for my
> DNS to find samnet.com? Thanks in advance.
>

> Kevin Kang
> webm...@mailhost.samnet.com - since webm...@samnet.com does not work
> right now.

I noticed some things that might be wrong:

1. Is not the correct syntax for a CNAME entry something like this

;
samenet IN CNAME mailhost
; this entry would appear in the Zone file for samenet.com

(I believe you left out the "IN" as listed in your quoted section above)

2. You left off the trailing dot from your example CNAME entry where you
should probably have mailhost.samenet.com.

3. Your cname entry must point to a valid A record and should NOT be a
redefinition of a previous A record within the same Zone. By doing the
cname entry as you have, you are attempting to redefine the glue records
from what they have been set by, in this case, the delegation you receive
from InterNIC. I have never tried to make this type of redefinition work,
and I am extreemly dubious about it ever working.

4. Wouldn't it be better to swing the entries around and allow your name
server machine to live at the delegated address for the NS record and also
run send mail on it you could always place mail aliases in the
/etc/mail/aliases file and shoot the incomming mail off to your "mailhost"
server? (I have been recently educated by Doug Freyburger that it is
common practice to type "server new.domain.com." and expect to be
immediately connected to the primary nameserver for the delegated domain
instead of studying the SOA records for a guess as to what name servers
are possible.)

In this suggestion, your Zone file would look more like this:

;
mailhost IN CNAME samnet.com.
;

and mailhost would not really be a separate machine.

5. Lastly, and most importantly, is there some really interesting AND
compelling reason why you are not simply using an MX record?

All in all, it would be useful to see a copy of your zone file to provide
you with more assistance. I tried listing your samnet.com domain, but it
looks like you've got a socket filter, so that's about all the more help I
can give until you provide more info.

-Vincent
---------------------------------------------------------------------
Vincent Cordrey cor...@acm.org
UNIX Systems Administration vcor...@world.northgrum.com
Northrop Grumman, Data Systems and Services Division

0 new messages