Welcome to WebmasterWorld Guest from 50.16.24.12

Forum Moderators: bakedjake

Quick dns question.

   
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.

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

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

My Threads

Hot Threads This Week

Hot Threads This Month

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved