1753454 Members
6253 Online
108794 Solutions
New Discussion юеВ

Re: ftp and dns

 
SOLVED
Go to solution
Wilfred Chau_1
Respected Contributor

ftp and dns


I had a slow dns server which will response a query in about 2-5 seconds.

When I ftp to a site, it failed with "host not found". What is the timeout value for name resolution?
4 REPLIES 4
RAC_1
Honored Contributor
Solution

Re: ftp and dns

Is the dns server a hp-ux server?? If yes, look at the man page of resolver

man 4 resolver

It talks about the details that you want.

Anil
There is no substitute to HARDWORK
Sanjay_6
Honored Contributor

Re: ftp and dns

Hi,

You can try the retrans parameter in /etc/resolv.conf,

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000069154806

The itrc doc id is NR0500KBRC00002433.

Hope this helps.

Regds
Wilfred Chau_1
Respected Contributor

Re: ftp and dns

the first hop is a hpux dns and then the request is sent to an NT dns server.
Jeff Schussele
Honored Contributor

Re: ftp and dns

Hi Wilfred,

The default for a single DNS request alone is 5000 milliseconds but can be overridden by the res_init() & set_resfeild() functions (see man 4 resolver) or the retrans XXXX or retry X variables in the resolv.conf file.
But remember if there are multiple DNS servers in use OR there are other resolvers in play the time can be much longer.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!