homepage Welcome to WebmasterWorld Guest from 107.22.45.61
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Quick dns question.
fintan




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

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




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

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




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved