On 2022-12-12 04:32, Georgi Naplatanov wrote:
Hi Jason,
how did you configure your Ethernet card - with Network Manager or?
Please provide configuration.
The above errors means that your system is configured to use DNS
server on localhost (IPv6 - ::1) and connection was refused. So this
is first thing to check - your DNS configuration. You have the
following choices:
- install DNS server on your local computer (BIND for example)
- you can use DNS on your router
- you can use DNS provided by your ISP.
Kind regards
Georgi
Hi Georgi,
I am using Network Manager without any input/manual configuration,
running under
the assumption it would 'just work'. This also means I am using WPA
supplicant
Since my home network needs no special configuration, I had assumed my
router or
ISP would act as DNS. Why would DNS on IPv4 work under this
configuration but
not IPv6?
It's hard to provide configuration when I'm not sure what I'm looking for. I
installed a bare netinst installation, accidentally with GNOME, but then
removed
it and installed sway and i3 in its place. I haven't touched any
configuration
text files and have no GUI for it either. /etc/network contains just
some shell
files, nothing in /etc/network/interfaces.d:
/etc/network$ ls -R
if-down.d if-post-down.d if-pre-up.d if-up.d interfaces interfaces.d
./if-down.d:
resolved wpasupplicant
./if-post-down.d:
wpasupplicant
./if-pre-up.d:
wpasupplicant
./if-up.d:
resolved wpasupplicant
./interfaces.d:
I've never needed to change this state of affairs i.e. autoconfiguration
as much
as possible, until recently when issues started cropping up.
Aware I was using NetworkManager, I tried configuring it by starting
nm-applet
and adding a configuration with nm-connection-editor.
I added a DNS server for IPv6, OpenDNS' ipv6 address. I then looked under
into NetworkManager's configuration directory for the connection info:
/etc/NetworkManager/system-connections$ sudo cat 'Wired connection 1'
[connection]
id=Wired connection 1
uuid=aa3b5fa9-a0e8-4ed0-98d5-cae938d836cb
type=ethernet
timestamp=1670726772
[ethernet]
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns=2620:0:ccc::2;
ip6-privacy=2
method=auto
[proxy]
I also rebooted. This seems to have changed the error from connection
refused to
timed out:
$ dig -6 duckduckgo.com
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
; <<>> DiG 9.18.8-1-Debian <<>> -6 duckduckgo.com
;; global options: +cmd
;; no servers could be reached
$ dig -6 ::1
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
; <<>> DiG 9.18.8-1-Debian <<>> -6 ::1
;; global options: +cmd
;; no servers could be reached
$ dig -6 debian.org
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
;; communications error to 2620:0:ccc::2#53: timed out
; <<>> DiG 9.18.8-1-Debian <<>> -6 debian.org
;; global options: +cmd
;; no servers could be reached
$ dig -4 debian.org
; <<>> DiG 9.18.8-1-Debian <<>> -4 debian.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45558
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 300 IN A 149.20.4.15
debian.org. 300 IN A 130.89.148.77
debian.org. 300 IN A 128.31.0.62
;; Query time: 23 msec
;; SERVER: 10.0.0.138#53(10.0.0.138) (UDP)
;; WHEN: Mon Dec 12 05:02:05 AEDT 2022
;; MSG SIZE rcvd: 87
$ ping 2620:0:ccc::2
PING 2620:0:ccc::2(2620:0:ccc::2) 56 data bytes
From 2001:8003:234d:a600:dad7:75ff:fe4d:2452 icmp_seq=1 Destination
unreachable: Address unreachable
From 2001:8003:234d:a600:dad7:75ff:fe4d:2452 icmp_seq=2 Destination
unreachable: Address unreachable
From 2001:8003:234d:a600:dad7:75ff:fe4d:2452 icmp_seq=3 Destination
unreachable: Address unreachable
I'm not sure why I can't reach the DNS server...
Thanks for the help so far