Re: DNS problems this morning -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim wrote:
> > I seem to recall that there is a way to set the timeout delay before
> > abandoning the first query, and querying the next server, but I don't
> > recall the details, and there's no man file for resolv.conf on this
> > installation of F17.  I don't know if there's configuration options
> > about always trying the first server, first.

Bob Goodwin:
> It looks like there is a way.

As I mentioned further down in my prior message...  (the same details,
and the strange lack of a resolv.conf man file on my installation).

>  From man resolv.conf:
> 
>     options
> 
>     Options allows certain internal resolver variables to be modified.
>     The syntax is options option ...
> 
>     where option is one of the following:
> 
>     timeout:n
> 
>     sets the amount of time the resolver will wait for a response from a
>     remote name server before retrying the query via a different name
>     server. Measured in seconds, the default is RES_TIMEOUT (currently
>     5, see <resolv.h>). The value for this option is silently capped to 30.

The default timeout on my system is definitely not 5 seconds, so it's
been reset /somewhere/.


>     attempts:n
> 
>     sets the number of times the resolver will send a query to its name
>     servers before giving up and returning an error to the calling
>     application. The default is RES_DFLRETRY (currently 2, see
>     <resolv.h>). The value for this option is silently capped to 5.
> 
> It's not clear to me how to type the command though. The 5 second
> timeout seems much to long when combined with 5 tries, perhaps fewer
> tries would be better? However I imagine there were good reasons for
> the defaulsts ...

My reading of the man file suggested that one would add the options into
the resolv.conf file.  Else why else are they mentioned in the man file
for it?

e.g.
/etc/resolv.conf 
domain lan.example.com.
search lan.example.com.
nameserver 192.168.1.2
options timeout:1

But what would the syntax be?  Like I've tried, above?  Are there any
samples in your man file?



-- 
[tim@localhost ~]$ uname -rsvp
Linux 3.6.6-1.fc17.x86_64 #1 SMP Mon Nov 5 21:59:35 UTC 2012 x86_64

All mail to my mailbox is automatically deleted, there is no point
trying to privately email me, I will only read messages posted to the
public lists.



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux