Re: SuSE 8.0 and slow DNS resolution
From: Gerard Wassink (DontWant_at_SP_aM.nl)
Date: 07/10/04
- Next message: Abdullah Ramazanoglu: "Re: pinging two different URLs, response comes from same IP address (server), Is that possible?"
- Previous message: Michael Heiming: "Re: NFS problems with Linux mounting a file"
- In reply to: E Drake: "Re: SuSE 8.0 and slow DNS resolution"
- Next in thread: E Drake: "Re: SuSE 8.0 and slow DNS resolution"
- Reply: E Drake: "Re: SuSE 8.0 and slow DNS resolution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 10 Jul 2004 21:29:17 +0200
On 10 Jul 2004 09:59:28 -0700, E Drake scribbled:
> Am I wrong in believing that the search line in resolve.conf comes
> into
> play only when trying to resolve a partial adress? And, as a
> consequence,
> that "search myhome" would not do any harm except when such partial
> adresses
> were used?
>
> I got the above from a book, but now when reading the man pages again,
> I am
> not so sure...
>>
>> Somewhere at the install of linux you probably had the opportunity to
>> specify your domain name.
>
> That is possible (or likely even), although I must admit I don't
> remember...
> Alos, it wouldn't affect the router, and hence not the value popping
> up
> in resolv.conf, would it?
>
>> ou can spcify any name you like there within the
>> boundaries set by dns-rules, but in your case it should have been "myhome",
>> which is perfectly fine also. After that you should have implemented at
>> least one caching DNS to solve your current problem.
>
> Would that solve it? Maybe I am getting things all mixed up here, but
> it
> seems to me that the main issue is that the router address is first in
> the list of nameservers in resolve.conf? And this is happening based
> on the router
> sending info in the responce to the DHCP request, I beleive? As long
> as I allow
> dchpcd to modify resolve.conf, this is what happens.
>
> I admit I don't know the details about a caching DNS, but for a
> first time ever lookup of an address, wouldn't the problem remain?
> I.e.
> it cures the symptoms (slow lookups), but does not really solve the
> problem?
>
>>
>> Another way to work around this (IMHO) is to specify the domain name of
>> your provider in the field in your router where it now says "myhome".
>
> Again, I thought the "search myhome" was used only to turn shortened
> names into FQDNs? If so, I am not sure I understand how this would
> help?
>
> I'll try that however, just to see what happens.
>
[SNIP]
The resolver makes a FQDN - and then goes using it to find a Domain Name
Server!
Which of course, as far as i can tell in your case, is simply not there.
This, AFAICT, is also the difference between Linux and Windows XP. That's
why XP does the job, and, at first site, Linux does appear not to. "appear"
I say, because it just needs a bit more information to be able to run.
You could have a look at file /etc/hostnam (or /etc/HOSTNAME). In there you
should find the name you gave your system. Something like (in my case):
$> cat /etc/hostname
jacob.prodeo
$>
Here, ".prodeo" is my local domain, for which I run a caching nameserver.
In your case it should read: "yourbox.myhome", or any odd domainname, as
long as you make it the same all around, Linux, router and XP box.
Then, remove the search line if you do *not* plan to implement your own
DNS, and replace it by:
domain myhome
Let us know.
--
GerardLinux ay tee filternet dee oo tee ann el
|
\ /
.---.
'-. | | .-'
___| |___
-= [ ] =-
`---. .---'
__||__ | | __||__
'-..-' | | '-..-'
|| | | ||
||_.-| |-,_||
.-"` `"`'` `"-.
.' '.
Jesus is alive, I spoke with Him this morning!
- Next message: Abdullah Ramazanoglu: "Re: pinging two different URLs, response comes from same IP address (server), Is that possible?"
- Previous message: Michael Heiming: "Re: NFS problems with Linux mounting a file"
- In reply to: E Drake: "Re: SuSE 8.0 and slow DNS resolution"
- Next in thread: E Drake: "Re: SuSE 8.0 and slow DNS resolution"
- Reply: E Drake: "Re: SuSE 8.0 and slow DNS resolution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|