Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
whois and IPv6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1086
Location: Motown

PostPosted: Mon Apr 30, 2012 6:30 pm    Post subject: whois and IPv6 Reply with quote

After enabling IPv6 on my network using Hurricane Electric's Tunnel Broker service, whois [net-misc/whois] times out on .com and .net queries.

The system prefers IPv6 when enabled and apparently whois.crsnic.net is not answering on its IPv6 address.

I can workaround by editing /etc/whois.conf to add:
Code:
\.com$ 199.7.57.74
\.net$ 199.7.57.74
(forcing use of the IPv4 address at whois.crsnic.net), but it seems a bit of an ugly hack.

Anyone else notice this behavior?
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2130
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Mon Apr 30, 2012 8:45 pm    Post subject: Reply with quote

Not sure if it will help you, but:

Code:

# host whois.crsnic.net
whois.crsnic.net has address 199.7.52.74
whois.crsnic.net has IPv6 address 2001:503:3227:1060::74

telnet 2001:503:5ae2:1060::74 43


works fine here.
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1086
Location: Motown

PostPosted: Mon Apr 30, 2012 11:15 pm    Post subject: Reply with quote

nephros wrote:
works fine here.

I used "drill" (from ldns) but of course it returns the same A & AAAA record info.

When you state "works fine here" are you IPv6 enabled and is your system using IPv6 preferentially?

If you edit /etc/whois with:
Code:
\.com$ 2001:503:3227:1060::74
forcing it to use the IPv6 address do you not get a timeout with a query such as:
Code:
whois ubuntu.com
?
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2130
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Tue May 01, 2012 8:03 am    Post subject: Reply with quote

darkphader wrote:

When you state "works fine here" are you IPv6 enabled and is your system using IPv6 preferentially?

Yes.

darkphader wrote:

If you edit /etc/whois with:
Code:
\.com$ 2001:503:3227:1060::74
forcing it to use the IPv6 address do you not get a timeout with a query such as:
Code:
whois ubuntu.com
?


No timeout, query returns quite quickly.

Code:

chalice:~ [420] # cat /etc/whois.conf
# whois configuration file
#
# This file can contain details of alternative whois servers to use if
# the compiled in servers are not suitable.  Each entry is a single
# text line and consists of a regular expression pattern to match and
# the whois server to be used for it, separated by blank space.
#
# Eg:
# \.nz$ nz.whois-servers.net
#
\.com$ 2001:503:3227:1060::74

chalice:~ [423] # time whois ubuntu.com >/dev/null

real    0m0.449s
user    0m0.003s
sys     0m0.003s

chalice:~ [424] # echo $?
0

_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1086
Location: Motown

PostPosted: Tue May 01, 2012 1:46 pm    Post subject: Reply with quote

nephros wrote:
Yes.

Interesting. Oddly enough other IPv6 whois queries get answered here very quickly (forcing IPv6 for the .uk whois provider for example), it is only whois.crsnic.net that gives me trouble.

Thanks for the input.
Back to top
View user's profile Send private message
fmouse
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2003
Posts: 101

PostPosted: Mon May 07, 2012 9:32 pm    Post subject: Reply with quote

whois.crsnic.net has both A and AAAA records for the same name. You can force the use of the v4 resolution by adding it to /etc/hosts. e.g.:

199.7.57.74 whois.crsnic.net

I had the same problem here. This solved it :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum