LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-07-2022, 11:55 AM   #16
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled

The timeout and #tries can be increase in /etc/resolv.conf with the options statement for testing.

I think it is like:

options timeout:5 attempts:6
would be 6 tries with timeout of 5 for each, so about 30 seconds. I think the default might be 5 timeout 3 tries.

Last edited by elgrandeperro; 10-07-2022 at 12:14 PM.
 
1 members found this post helpful.
Old 10-08-2022, 11:37 AM   #17
black-clover
Member
 
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 208

Original Poster
Rep: Reputation: Disabled
On Devuan lists.alpine.org shows no output on the terminal (but works on browser). If I try other websites then it shows the following:
DEVUAN
Code:
$ tcpdump -i wlan0 port 53
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on wlan0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
09:29:22.684785 IP mac.domain.name.33142 > RTK_GW.domain.name.domain: 25453+ A? ac.duckduckgo.com. (35)
09:29:22.684834 IP mac.domain.name.33142 > RTK_GW.domain.name.domain: 43797+ AAAA? ac.duckduckgo.com. (35)
09:29:22.693358 IP RTK_GW.domain.name.domain > mac.domain.name.33142: 25453 2/0/0 CNAME duckduckgo.com., A 52.250.42.157 (65)
09:29:22.693433 IP RTK_GW.domain.name.domain > mac.domain.name.33142: 43797 1/1/0 CNAME duckduckgo.com. (114)
09:29:22.718703 IP mac.domain.name.49769 > RTK_GW.domain.name.domain: 41939+ PTR? 254.1.168.192.in-addr.arpa. (44)
09:29:22.723344 IP RTK_GW.domain.name.domain > mac.domain.name.49769: 41939* 1/0/0 PTR RTK_GW.domain.name. (76)
09:29:22.723698 IP mac.domain.name.45820 > RTK_GW.domain.name.domain: 11947+ PTR? 69.1.168.192.in-addr.arpa. (43)
09:29:22.727162 IP RTK_GW.domain.name.domain > mac.domain.name.45820: 11947* 1/0/0 PTR mac.domain.name. (72)
09:29:25.770827 IP mac.domain.name.36279 > RTK_GW.domain.name.domain: 1166+ A? rum-http-intake.logs.datadoghq.com. (52)
09:29:25.779089 IP RTK_GW.domain.name.domain > mac.domain.name.36279: 1166 9/0/0 CNAME alb-logs-http-rum-pub-s0-1171131448.us-east-1.elb.amazonaws.com., A 3.233.153.12, A 3.233.153.127, A 3.233.153.120, A 3.233.149.198, A 3.233.149.196, A 3.233.153.125, A 3.233.153.129, A 3.233.153.121 (254)
09:29:25.779409 IP mac.domain.name.44449 > RTK_GW.domain.name.domain: 13442+ AAAA? rum-http-intake.logs.datadoghq.com. (52)
09:29:25.787243 IP RTK_GW.domain.name.domain > mac.domain.name.44449: 13442 9/0/0 CNAME alb-logs-http-rum-pub-s0-1171131448.us-east-1.elb.amazonaws.com., AAAA 2600:1f18:24e6:b902:d231:a282:cf08:a33, AAAA 2600:1f18:24e6:b902:7b73:bfbb:1bbb:4c12, AAAA 2600:1f18:24e6:b901:82bf:7748:2922:b37f, AAAA 2600:1f18:24e6:b900:765b:874d:29f3:841e, AAAA 2600:1f18:24e6:b900:6fe3:30:3061:2ca6, AAAA 2600:1f18:24e6:b900:c17a:225d:3c44:ae3e, AAAA 2600:1f18:24e6:b901:7782:c345:93e8:8e1f, AAAA 2600:1f18:24e6:b901:cd25:b11:b497:bb3d (350)
09:29:28.575935 IP mac.domain.name.51935 > RTK_GW.domain.name.domain: 43145+ A? alpinelinux.org. (33)
09:29:28.575980 IP mac.domain.name.51935 > RTK_GW.domain.name.domain: 3504+ AAAA? alpinelinux.org. (33)
09:29:28.584596 IP RTK_GW.domain.name.domain > mac.domain.name.51935: 43145 1/0/0 A 147.75.101.119 (49)
09:29:28.584671 IP RTK_GW.domain.name.domain > mac.domain.name.51935: 3504 1/0/0 AAAA 2604:1380:2002:4001::4 (61)
 
Old 10-08-2022, 01:45 PM   #18
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled
Don't think it is timeout, you can see the return time is pretty short.

One thing you can try, when accessing lists.alpinelinux.org, tcpdump it since we know the ip:

tcpdump -i interface host 147.75.101.119

and see if the browser actually sends a packet.

The other thing you can try, is to put the entry:

147.75.101.119 lists.alpinelinux.org

into /etc/hosts. This should be used instead of the dns resolver, if the problems is in the return of the dns resolver library.

You can verify this because if you tcpump port 53, you should NOT see the A request for lists.alpinelinux.org since it is getting it from a file.


I think you need to run debug/logging for a browser that is failing if these do not provide much help.

Do you build your browsers?

Last edited by elgrandeperro; 10-08-2022 at 08:28 PM.
 
Old 10-08-2022, 11:52 PM   #19
black-clover
Member
 
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 208

Original Poster
Rep: Reputation: Disabled
Okay, here is how I solved it:

Enable Google's DNS servers by running for the last time.
Code:
sudo su "echo 'nameserver 8.8.8.8' > /etc/resolv.conf"
Get the fresh packages and install dhclient.
Code:
sudo apk update && sudo apk upgrade && sudo apk add dhclient
Create /etc/dhcp/dhclient.conf and put in the following:
Code:
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

send host-name = gethostname();
request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, domain-search, host-name,
        dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,
        netbios-name-servers, netbios-scope, interface-mtu,
        rfc3442-classless-static-routes, ntp-servers;

prepend domain-name-servers 8.8.8.8, 8.8.4.4;
Then restarted networking
Code:
sudo rc-service networking restart
Now list.alpinelinux.org and all the other pages work.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alpine-linux mounting error lattimro Linux - Distributions 2 01-26-2022 12:12 PM
CUPS (ALPINE) - CUPS claiming print job completed despite printing nothing, How to debug the issue? (network printer, Alpine, Linux, Docker) vinnu543 Linux - Newbie 2 11-01-2018 03:18 PM
CUPS (ALPINE) - CUPS claiming print job completed despite printing nothing, How to debug the issue? (network printer, Alpine, Linux, Docker) vinnu543 Linux - Networking 1 11-01-2018 03:13 AM
alpine-2.0 compilation error after GSB-3.20 installation dma8hm1956 Slackware 0 03-26-2012 12:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration