|
|
 |  |
Re: Semi-ot, local DNS lookupsFrom: Scott Haneda Date: Wednesday, September 22, 2004
Time: 6:10:58 pmon 9/22/04 5:22 PM, Men & Mice Support at cbuxton@menandmice.com wrote:
>> Is it valid to have two A records to the same domain?
>> host secure.authorize.net
>> secure.authorize.net has address 64.94.118.32
>> secure.authorize.net has address 64.94.118.33
>
> It absolutely is. And you can't be sure which one the curl command
> will end up using, though if there's little enough traffic (i.e. the
> script isn't running more than once at a time), it's likely to be the
> second one.
Ok, the plot thickens yet again:
Still getting failures in my scripts connecting to "secure.authorize.net", I
managed to figure out enough about how to use tcmdump to capture what is
happening, here is my suspician:
host secure.authorize.net
secure.authorize.net has address 64.94.118.33
secure.authorize.net has address 64.94.118.32
Those 2 Ip addresses work just fine, but for some reason, at random it
seems, I am getting back a similar yet old and dead IP address.
From my tcpdump log
WORKING:
17:54:56.765774 IP hook.hostwizard.com.63092 > 64.94.118.32.https: S
1777568727:1777568727(0) win 65535 <mss 1460,nop,wscale 0,nop,nop,timestamp
3366760773 0>
NOT WORKING:
17:56:13.122516 IP hook.hostwizard.com.63107 > 64.94.118.60.https: S
3097365772:3097365772(0) win 65535 <mss 1460,nop,wscale 0,nop,nop,timestamp
3366760925 0>
So as you can see, in a short span of time, 2 seconds, all of a sudden, the
IP went from .32 to .60, when it got the .60 it failed.
I was doing a tail -f on the qdns log at the time this happened, I had
querry logging on, I never saw a DNS lookup come in for
secure.authorize.net, I also ran lookupd -flushcache, which seemed to do no
good, no new lookup was asked of my DNS server.
I rebooted the machine, and it seems to get the correct IP now, but I did
that a few days ago, and it seems over time it gets the wrong one.
So, where in the world is this bunk DNS IP address coming from, and how can
I fix this?
--
-------------------------------------------------------------
Scott Haneda Tel: 415.898.2602
<http://www.newgeo.com> Fax: 313.557.5052
<scott@newgeo.com> Novato, CA U.S.A.
|

Return to Digital Point Solutions' Home Page |