Welcome to WebmasterWorld Guest from 54.221.119.45

Forum Moderators: bakedjake

Message Too Old, No Replies

Quick dns question.

     

fintan

4:38 pm on Feb 27, 2003 (gmt 0)

10+ Year Member



I've configued bind and the dns server is working fine but for one small thing. Say if I ping or nslookup a pc like
mcmahonfi.domain.ie I get back unknown host. Is there something I'm missing. Thanks

fintan.

jatar_k

1:42 am on Feb 28, 2003 (gmt 0)

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member



The first thing that comes to mind is: have you added the host to your zonefile?

it would look something like this:

mcmahonfi.domain.ie. A 1.1.1.1

(Special note to yourself for future reference: there's a trailing "." at the end of the host name. that tells bind that it's the FQDN (Fully Qualified Domain Name) for that host. You'll see why I pointed that out in a second).

Another way is:

mcmahonfi A 1.1.1.1

note the non-FQDN and the lack of trailing "." that tells bind to assume the host is under the "domain.ie" domain.

Another nifty thing you can do, too is a CNAME record. That's like an Alias, if you will...

so, you could have

mcmahonfi A 1.1.1.1
mybigfatserver CNAME mcmahonfi

:)

once you've added the host(s), sighup your named and you're ready to roll and or rock.

I got someone else to answer but I posted it, HTH

fintan

8:49 am on Feb 28, 2003 (gmt 0)

10+ Year Member



I know that, I should have made myself clearer sorry. What I'm trying to do is look up a workstation like my pc is called mcmahonfi and the domain is "domain.ie" so my pc's full name should be mcmahonfi.domain.ie or if I go "nslookup daisyd" I should get back

hostname daisyd.domain.ie
address 1.1.1.1

or something similar. What I do get back is dns can't find 1.1.1.1 Non-existent domain. Don't tell me I have to add every workstation to the dns zone files. I don't really want to do that since there are over 500 - 1000 of them. There should be an easier way to do it.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month