Timeout bei whois-Anfrage

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
paulpaulpaul
Beiträge: 26
Registriert: 12.09.2019 13:06:31

Timeout bei whois-Anfrage

Beitrag von paulpaulpaul » 14.09.2019 12:22:38

Hallo Zusammen,

scheinbar mag mich mein neues Debian 10 noch nicht so ganz. Nachdem nun mein DNS-Timeout Problem gelöst ist kommt die nächste Appliaktion mit einem Timeout ums Eck: Debianwhois.

Code: Alles auswählen

user@host:~$ whois 8.8.8.8

#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2019, American Registry for Internet Numbers, Ltd.
#


Zeitüberschreitung
Aus irgendeinem Grund mag mich der ARIN Whois-Server nicht. Abfragen bei RIPE (whois 5.5.5.5) oder APNIC (whois 1.1.1.1) funktionieren problemlos. Eine Vergleichsabfrage mit einem etwas älteren Debian 8.11 (im selben IP-Adressrange (/24, /48), aber hinter anderem Gateway) hat keine Probleme.

Leider fehlen mir bei "whois" die Ideen, was ich machen könnte. Ich hätte nämlich gerne die Original-Antwort der entsprechenden RIR zu den IPs.

Für Ideen bin ich sehr dankbar.

Gruß

Paul

paulpaulpaul
Beiträge: 26
Registriert: 12.09.2019 13:06:31

Re: Timeout bei whois-Anfrage

Beitrag von paulpaulpaul » 14.09.2019 12:43:48

Es ist auf jedem Fall ein IPv4 vs. IPv6 Problem.

Trage ich in "/etc/hosts" die IPv4 Adresse von whois.arin.net ein funktioniert die Abfrage.

Ping auf alle IP-Adressen von "whois.arin.net" funktioniert problemlos.

mat6937
Beiträge: 2953
Registriert: 09.12.2014 10:44:00

Re: Timeout bei whois-Anfrage

Beitrag von mat6937 » 14.09.2019 13:20:50

paulpaulpaul hat geschrieben: ↑ zum Beitrag ↑
14.09.2019 12:43:48
Es ist auf jedem Fall ein IPv4 vs. IPv6 Problem.
Ist der Port 43 via IPv6 erreichbar?

Code: Alles auswählen

nc -zv -6 2001:0500:0013:0000:0000:0000:0000:0046 43
nc -zv -6 2001:0500:0031:0000:0000:0000:0000:0046 43
nc -zv -6 2001:0500:00a9:0000:0000:0000:0000:0046 43
?

Hast Du die entsprechende Option für /etc/resolv.conf konfiguriert bzw. ist diese Option dort eingetragen?

paulpaulpaul
Beiträge: 26
Registriert: 12.09.2019 13:06:31

Re: Timeout bei whois-Anfrage

Beitrag von paulpaulpaul » 15.09.2019 13:59:19

Hmm, interessant.

Mein nc kann kein IPv6 :-(

Code: Alles auswählen

root@host:~# nc -zv -6 2001:0500:0013:0000:0000:0000:0000:0046 43
nc: invalid option -- '6'

root@host:~# nc -h
[v1.10-41.1]
...
Telnet auf Port 43 geht bei allen 3 IPs. Der Banner "# ARIN WHOIS data and service...." kommt auch per IPv6 zurück.

Die Option in /etc/resolv.conf ist nicht geändert, da für das DNS Problem wohl mein Router verantwortlich war.

Edit: Typo
Zuletzt geändert von paulpaulpaul am 15.09.2019 14:02:15, insgesamt 1-mal geändert.

paulpaulpaul
Beiträge: 26
Registriert: 12.09.2019 13:06:31

Re: Timeout bei whois-Anfrage

Beitrag von paulpaulpaul » 15.09.2019 14:01:32

Debiannetcat-openbsd installiert:

Code: Alles auswählen

root@host:~# nc -zv -6 2001:0500:0013:0000:0000:0000:0000:0046 43
Connection to 2001:0500:0013:0000:0000:0000:0000:0046 43 port [tcp/whois] succeeded!
root@host:~# nc -zv -6 2001:0500:0031:0000:0000:0000:0000:0046 43
Connection to 2001:0500:0031:0000:0000:0000:0000:0046 43 port [tcp/whois] succeeded!
root@host:~# nc -zv -6 2001:0500:00a9:0000:0000:0000:0000:0046 43
Connection to 2001:0500:00a9:0000:0000:0000:0000:0046 43 port [tcp/whois] succeeded!

mat6937
Beiträge: 2953
Registriert: 09.12.2014 10:44:00

Re: Timeout bei whois-Anfrage

Beitrag von mat6937 » 15.09.2019 14:21:27

paulpaulpaul hat geschrieben: ↑ zum Beitrag ↑
15.09.2019 14:01:32

Code: Alles auswählen

root@host:~# nc -zv -6 2001:0500:00a9:0000:0000:0000:0000:0046 43
Connection to 2001:0500:00a9:0000:0000:0000:0000:0046 43 port [tcp/whois] succeeded!
Hast Du damit auch timeouts?

Code: Alles auswählen

whois -h 199.5.26.46 -p 43 8.8.8.8
whois -h 2001:0500:00a9:0000:0000:0000:0000:0046 -p 43 8.8.8.8
whois -h 2001:0500:00a9:0000:0000:0000:0000:0046 -p 43 2a02:02e0:03fe:1001:0302:0000:0000:0000

paulpaulpaul
Beiträge: 26
Registriert: 12.09.2019 13:06:31

Re: Timeout bei whois-Anfrage

Beitrag von paulpaulpaul » 15.09.2019 15:06:58

Ein ganz klares Jein ;-)

Kein Timeout:

Code: Alles auswählen

root@host:~# whois -h 199.5.26.46 -p 43 8.8.8.8

#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2019, American Registry for Internet Numbers, Ltd.
#


#
# Query terms are ambiguous.  The query is assumed to be:
#     "n 8.8.8.8"
#
# Use "?" to get help.
#

Level 3 Parent, LLC LVLT-ORG-8-8 (NET-8-0-0-0-1) 8.0.0.0 - 8.127.255.255
Google LLC LVLT-GOGL-8-8-8 (NET-8-8-8-0-1) 8.8.8.0 - 8.8.8.255



#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2019, American Registry for Internet Numbers, Ltd.
#

Kein Timeout

Code: Alles auswählen


root@host:~# whois -h 2001:0500:00a9:0000:0000:0000:0000:0046 -p 43 8.8.8.8

#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2019, American Registry for Internet Numbers, Ltd.
#


#
# Query terms are ambiguous.  The query is assumed to be:
#     "n 8.8.8.8"
#
# Use "?" to get help.
#

Level 3 Parent, LLC LVLT-ORG-8-8 (NET-8-0-0-0-1) 8.0.0.0 - 8.127.255.255
Google LLC LVLT-GOGL-8-8-8 (NET-8-8-8-0-1) 8.8.8.0 - 8.8.8.255



#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2019, American Registry for Internet Numbers, Ltd.
#

Timeout

Code: Alles auswählen


root@host:~# whois -h 2001:0500:00a9:0000:0000:0000:0000:0046 -p 43 2a02:02e0:03fe:1001:0302:0000:0000:0000

#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2019, American Registry for Internet Numbers, Ltd.
#


Zeitüberschreitung
Interessant ist auch, das die Ausgabe bei der Anfrage an "whois.arin.net" anderst lautet aus die Ausgabe der Anfrage an die entsprechende IP.

Via IPv4 angefragt:

Code: Alles auswählen

andereruser@andererhost:~$  whois -h whois.arin.net -p 43 8.8.8.8

#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2019, American Registry for Internet Numbers, Ltd.
#



# start

NetRange:       8.0.0.0 - 8.127.255.255
CIDR:           8.0.0.0/9
NetName:        LVLT-ORG-8-8
NetHandle:      NET-8-0-0-0-1
Parent:         NET8 (NET-8-0-0-0-0)
NetType:        Direct Allocation
OriginAS:
Organization:   Level 3 Parent, LLC (LPL-141)
RegDate:        1992-12-01
Updated:        2018-04-23
Ref:            https://rdap.arin.net/registry/ip/8.0.0.0


OrgName:        Level 3 Parent, LLC
OrgId:          LPL-141
Address:        100 CenturyLink Drive
City:           Monroe
StateProv:      LA
PostalCode:     71203
Country:        US
RegDate:        2018-02-06
Updated:        2018-02-22
Ref:            https://rdap.arin.net/registry/entity/LPL-141


OrgAbuseHandle: IPADD5-ARIN
OrgAbuseName:   ipaddressing
OrgAbusePhone:  +1-877-453-8353
OrgAbuseEmail:  ipaddressing@level3.com
OrgAbuseRef:    https://rdap.arin.net/registry/entity/IPADD5-ARIN

OrgTechHandle: IPADD5-ARIN
OrgTechName:   ipaddressing
OrgTechPhone:  +1-877-453-8353
OrgTechEmail:  ipaddressing@level3.com
OrgTechRef:    https://rdap.arin.net/registry/entity/IPADD5-ARIN

# end


# start

NetRange:       8.8.8.0 - 8.8.8.255
CIDR:           8.8.8.0/24
NetName:        LVLT-GOGL-8-8-8
NetHandle:      NET-8-8-8-0-1
Parent:         LVLT-ORG-8-8 (NET-8-0-0-0-1)
NetType:        Reallocated
OriginAS:
Organization:   Google LLC (GOGL)
RegDate:        2014-03-14
Updated:        2014-03-14
Ref:            https://rdap.arin.net/registry/ip/8.8.8.0



OrgName:        Google LLC
OrgId:          GOGL
Address:        1600 Amphitheatre Parkway
City:           Mountain View
StateProv:      CA
PostalCode:     94043
Country:        US
RegDate:        2000-03-30
Updated:        2018-10-24
Comment:        Please note that the recommended way to file abuse complaints are located in the following links.
Comment:
Comment:        To report abuse and illegal activity: https://www.google.com/contact/
Comment:
Comment:        For legal requests: http://support.google.com/legal
Comment:
Comment:        Regards,
Comment:        The Google Team
Ref:            https://rdap.arin.net/registry/entity/GOGL


OrgAbuseHandle: ABUSE5250-ARIN
OrgAbuseName:   Abuse
OrgAbusePhone:  +1-650-253-0000
OrgAbuseEmail:  network-abuse@google.com
OrgAbuseRef:    https://rdap.arin.net/registry/entity/ABUSE5250-ARIN

OrgTechHandle: ZG39-ARIN
OrgTechName:   Google LLC
OrgTechPhone:  +1-650-253-0000
OrgTechEmail:  arin-contact@google.com
OrgTechRef:    https://rdap.arin.net/registry/entity/ZG39-ARIN

# end



#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2019, American Registry for Internet Numbers, Ltd.
#

Antworten