Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
10-07-2022, 11:55 AM
#16
Member
Registered: Apr 2021
Posts: 415
Rep:
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.
10-08-2022, 11:37 AM
#17
Member
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 208
Original Poster
Rep:
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)
10-08-2022, 01:45 PM
#18
Member
Registered: Apr 2021
Posts: 415
Rep:
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 .
10-08-2022, 11:52 PM
#19
Member
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 208
Original Poster
Rep:
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.
All times are GMT -5. The time now is 04:18 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News