LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 05-21-2003, 09:38 AM   #1
ives
LQ Newbie
 
Registered: May 2003
Posts: 1

Rep: Reputation: 0
DNS "search <domain>" working too well...


I have set the "search mydomain.com" in resolv.conf, but any host that can't be found defaults to a host in my own domain.

For example, if I'm looking for antihost.yourdomain.com (which doesn't have an IP from your DNS server), my local box will eventually try to lookup antihost.mydomain.com.

Only this lookup will result in the default server for my domain (I have a wildcard for any "<host>.mydomain.com" forward to "server1.mydomain.com" to avoid excessive host aliases.

Is there any way to prevent the antihost.yourdomain.com from resolving to antihost.mydomain.com (as by default antihost.mydomain.com will result in the IP for server1.mydomain.com)?

While I could just manually add CNAME records for only the hosts I want, I'd prefer not to do this.

Many thanks,

Ives
 
Old 05-21-2003, 09:44 PM   #2
GAVollink
Member
 
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
My understanding of DNS does not support what you are saying. However, it is very possible that what is being looked for is actually:
antihost.yourdomain.com.mydomain.com

Is there a way to prevent this? I'm not sure, but I would check your DNS files to make sure that "mydomain.com." is properly terminated with root (.) at the ends (where appropriate).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
commands "init" and "modprobe" not working Diagmato Fedora 2 07-22-2005 11:44 PM
How to "Search & Replace" in html files using Perl? rebel Red Hat 8 04-09-2005 12:58 PM
"posts with 0 replies" search to ignore member intro forum? ror LQ Suggestions & Feedback 1 11-07-2004 07:07 PM
Python compilation error, "module search path"etc.. mindfestival Linux - Newbie 0 05-31-2004 02:52 AM


All times are GMT -5. The time now is 08:32 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration