[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Feature Request or How To Request
From: |
Micah Cowan |
Subject: |
Re: [Bug-wget] Feature Request or How To Request |
Date: |
Tue, 24 Nov 2009 13:53:52 -0800 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
address@hidden wrote:
> Hi Everybody.
>
> I would like to use wget in the following way:
>
> wget --spider http://www.mydomain.com:9080/ --no-dns-cache
> --dns-server-one=99.88.77.66
> wget --spider http://www.mydomain.com:9080/ --no-dns-cache
> --dns-server-one=99.88.77.66 --dns-server-two=99.88.77.55
>
> So that wget can resolve the domain name and cname / address from
> another DNS server, just in case the local server WGET is running on
> has mirrored or backup or alternative DNS records, that also might
> contain the www.mydomain.com, but given the actual TEST case the
> www.mydomain.com is not the actual intended test server. The remote DNS
> server will have the appropriate www / address / cname record.
If you have root access, you can of course just modify /etc/resolv.conf.
Wget doesn't do anything fancy, just uses the system library name-lookup
routines.
--
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
http://micah.cowan.name/