weird stuff dealing with DNS?

Anil Jangity aj at entic.net
Mon Jun 14 05:33:52 UTC 1999


I have recently switched to a new isp and I got a new block of IP
addresses. 
I have updated my domain record with Internic to point to the new IP
address,
almost a week ago. everything works... forward and reverse but I am having
some weird troubles with virtual hosting:

Lets assume my new block of ip address is: A.B.C.* and my old ones are
E.F.G.*
(a whole class C for both of them)

I added some IP aliases to my network card. I am having trouble getting
eggdrop to bind to the aliased IP address. For some reason when I launch
the bot to bind to the vhost IP it tries to connect to my OLD ISP ip
address
and one specifc IP address to add to that (this is the weird part.. the ip
E.F.G.252 WAS not the NS with my old ISP). 

I do not know why:

$ netstat
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0      0  test.2624              irc.Prison.NET.6667
SYN_SENT
tcp        0      0  test.2623              209.249.172.252..7531
SYN_SENT

normally when you launch the bot it should connect and the state should
say
ESTABLISHED. 

if you look at the way the local address port increments, it sounds like
its
trying to connect to 209.249.172.252 first and then irc.prison.net? (also
to note, 
it is always connecting to 7531)
 
OS Details: Freebsd2/3 stable

My first guess is that there are still some cached version of my old RR's 
floating out there and its causing some problems... but if this is the
case
then why does forward dns work for EVERYONE? if it was still cached, it
shouldn't
work for some people. am i wrong?

Here is a tcpdump of the packets (i do'nt know how to decrypt this stuff):
22:29:07.603828 test.xxxx.net.2629 > 209.249.172.252.fastpoint.net.7531: S
2244027819:2244027819(0) win 16384 <mss 1460> (DF)

22:29:12.271617 is.bigger.than.your.xxxx.net.1850 >
209.249.172.252.fastpoint.net.7532: S 26591418:26591418(0) win 16384 <mss
1460,nop,wscale 0,nop,nop,timestamp[|tcp]> (DF)


Thanks.. any hints or ANYTHING is greatly appreciated. ByeBai.


--


Anil




More information about the bind-users mailing list