Cannot log in to my university internet in Fedora 37 KDE

Hi, I live in a university dorm. Here, we have cable internet. When I start Windows, most of the time the browser automatically starts with the internet login page of the university, where I enter my login info and connect to the internet. If that does not happen, Firefox even tells me that my network requires a login. I click the button and get redirected to that same login page. If that fails, I can always type the domain of the university in the address bar.

This happens in all Linux distros I have tested, except Fedora KDE. I cannot connect at all there. I cannot get to the login page at all and I have tested some KDE distros before, so this might have something to do with Fedora.

Any ideas how can I solve this?

Try collecting information about the connection:

# Windows
ipconfig /all & route print
nslookup UNIVERSITY_DOMAIN

# Fedora Linux
ip address show; ip route show table all
resolvectl --no-pager status
resolvectl query UNIVERSITY_DOMAIN
nmcli connection show
PAGER= nmcli connection show CONNECTION_NAME

Hi, I have the outputs. Tell me if I censored something I shouldn’t. :smiley:

Windows IP Configuration

   Host Name . . . . . . . . . . . . : DESKTOP-VR9TT5K
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : ufrgs.br

Ethernet adapter Ethernet 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
   Physical Address. . . . . . . . . : 0A-00-27-00-00-07
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::bc36:6e8:c8c5:117a%7(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.xx.x(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 302645287
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2A-56-9F-2D-34-97-F6-7D-83-38
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : ufrgs.br
   Description . . . . . . . . . . . : Intel(R) Ethernet Connection (2) I219-V
   Physical Address. . . . . . . . . : 34-97-F6-7D-xx-xx
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : fd01::1690:4742:b9fe:c38e(Preferred)
   IPv6 Address. . . . . . . . . . . : fd0b:d9d8:9e3d:0:4143:244a:b423:2914(Preferred)
   Temporary IPv6 Address. . . . . . : fd01::bd6e:fdd5:5316:a172(Preferred)
   Temporary IPv6 Address. . . . . . : fd0b:d9d8:9e3d:0:bd6e:fdd5:5316:a172(Preferred)
   Link-local IPv6 Address . . . . . : fe80::5e32:c462:48ba:5cad%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 143.54.xxx.xx(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.248.0
   Lease Obtained. . . . . . . . . . : quinta-feira, 9 de fevereiro de 2023 18:44:08
   Lease Expires . . . . . . . . . . : quinta-feira, 9 de fevereiro de 2023 21:44:08
   Default Gateway . . . . . . . . . : fe80::e288:5dff:fe02:7f6%11
                                       fe80::c6a8:1dff:fe46:205c%11
                                       fe80::3e1e:4ff:fe78:a02%11
                                       fe80::5a10:8cff:fe85:dea9%11
                                       fe80::26fd:dff:fe58:d1a7%11
                                       fe80::928d:78ff:fe70:54c7%11
                                       fe80::4aee:cff:fe1e:b8fb%11
                                       fe80::e66f:13ff:fe8c:7969%11
                                       fe80::e66f:13ff:fe08:33dd%11
                                       fe80::a2ab:1bff:fe13:ef49%11
                                       fe80::3e1e:4ff:fe7e:327a%11
                                       fe80::c612:f5ff:fe54:32f%11
                                       fe80::21a:3fff:fe89:7bbd%11
                                       fe80::360a:33ff:feeb:cc7a%11
                                       143.54.xxx.x
   DHCP Server . . . . . . . . . . . : 143.54.xxx.x
   DHCPv6 IAID . . . . . . . . . . . : 104110070
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2A-56-9F-2D-34-97-F6-7D-83-38
   DNS Servers . . . . . . . . . . . : 143.54.168.1
   NetBIOS over Tcpip. . . . . . . . : Enabled
===========================================================================
Interface List
  7...0a 00 27 00 00 07 ......VirtualBox Host-Only Ethernet Adapter
 11...34 97 f6 7d 83 38 ......Intel(R) Ethernet Connection (2) I219-V
  1...........................Software Loopback Interface 1
===========================================================================


> ip address show; ip route show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 34:97:f6:7d:83:38 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.139/24 brd 192.168.0.255 scope global dynamic noprefixroute enp0s31f6
       valid_lft 86342sec preferred_lft 86342sec
    inet6 fd0b:d9d8:9e3d:0:c053:6a49:5d84:2aa2/64 scope global dynamic noprefixroute
       valid_lft 2591999sec preferred_lft 604799sec
    inet6 fd01::c315:d20c:7972:ca15/64 scope global dynamic noprefixroute
       valid_lft 248sec preferred_lft 248sec
    inet6 fe80::b178:a899:45b:9a1d/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
default via 192.168.0.1 dev enp0s31f6 proto dhcp src 192.168.0.139 metric 20100
192.168.0.0/24 dev enp0s31f6 proto kernel scope link src 192.168.0.139 metric 100



> resolvectl --no-pager status
Global
       Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub

Link 2 (enp0s31f6)
    Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
         Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: fe80::4aee:cff:fe1e:b8fb%21970
       DNS Servers: fe80::4aee:cff:fe1e:b8fb%32539 fe80::360a:33ff:feeb:cc7a%32539



> nmcli connection show
NAME   UUID                                  TYPE      DEVICE
Wired  ba10a6c3-7069-4f0b-9f17-063e0541c08c  ethernet  enp0s31f6


> PAGER= nmcli connection show ba10a6c3-7069-4f0b-9f17-063e0541c08c
connection.id:                          Wired
connection.uuid:                        ba10a6c3-7069-4f0b-9f17-063e0541c08c
connection.stable-id:                   --
connection.type:                        802-3-ethernet
connection.interface-name:              --
connection.autoconnect:                 yes
connection.autoconnect-priority:        0
connection.autoconnect-retries:         -1 (default)
connection.multi-connect:               0 (default)
connection.auth-retries:                -1
connection.timestamp:                   1675983238
connection.read-only:                   no
connection.permissions:                 --
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.autoconnect-slaves:          -1 (default)
connection.secondaries:                 --
connection.gateway-ping-timeout:        0
connection.metered:                     no
connection.lldp:                        default
connection.mdns:                        -1 (default)
connection.llmnr:                       -1 (default)
connection.dns-over-tls:                -1 (default)
connection.mptcp-flags:                 0x0 (default)
connection.wait-device-timeout:         -1
connection.wait-activation-delay:       -1
802-3-ethernet.port:                    --
802-3-ethernet.speed:                   0
802-3-ethernet.duplex:                  --
802-3-ethernet.auto-negotiate:          yes
802-3-ethernet.mac-address:             --
802-3-ethernet.cloned-mac-address:      --
802-3-ethernet.generate-mac-address-mask:--
802-3-ethernet.mac-address-blacklist:   --
802-3-ethernet.mtu:                     auto
802-3-ethernet.s390-subchannels:        --
802-3-ethernet.s390-nettype:            --
802-3-ethernet.s390-options:            --
802-3-ethernet.wake-on-lan:             default
802-3-ethernet.wake-on-lan-password:    --
802-3-ethernet.accept-all-mac-addresses:-1 (default)
ipv4.method:                            auto
ipv4.dns:                               --
ipv4.dns-search:                        --
ipv4.dns-options:                       --
ipv4.dns-priority:                      0
ipv4.addresses:                         --
ipv4.gateway:                           --
ipv4.routes:                            --
ipv4.route-metric:                      -1
ipv4.route-table:                       0 (unspec)
ipv4.routing-rules:                     --
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   yes
ipv4.dhcp-client-id:                    --
ipv4.dhcp-iaid:                         --
ipv4.dhcp-timeout:                      0 (default)
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.dhcp-fqdn:                         --
ipv4.dhcp-hostname-flags:               0x0 (none)
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv4.required-timeout:                  -1 (default)
ipv4.dad-timeout:                       -1 (default)
ipv4.dhcp-vendor-class-identifier:      --
ipv4.link-local:                        0 (default)
ipv4.dhcp-reject-servers:               --
ipv6.method:                            auto
ipv6.dns:                               --
ipv6.dns-search:                        --
ipv6.dns-options:                       --
ipv6.dns-priority:                      0
ipv6.addresses:                         --
ipv6.gateway:                           --
ipv6.routes:                            --
ipv6.route-metric:                      -1
ipv6.route-table:                       0 (unspec)
ipv6.routing-rules:                     --
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.required-timeout:                  -1 (default)
ipv6.ip6-privacy:                       -1 (unknown)
ipv6.addr-gen-mode:                     stable-privacy
ipv6.ra-timeout:                        0 (default)
ipv6.mtu:                               auto
ipv6.dhcp-duid:                         --
ipv6.dhcp-iaid:                         --
ipv6.dhcp-timeout:                      0 (default)
ipv6.dhcp-send-hostname:                yes
ipv6.dhcp-hostname:                     --
ipv6.dhcp-hostname-flags:               0x0 (none)
ipv6.token:                             --
proxy.method:                           none
proxy.browser-only:                     no
proxy.pac-url:                          --
proxy.pac-script:                       --
GENERAL.NAME:                           Wired
GENERAL.UUID:                           ba10a6c3-7069-4f0b-9f17-063e0541c08c
GENERAL.DEVICES:                        enp0s31f6
GENERAL.IP-IFACE:                       enp0s31f6
GENERAL.STATE:                          activated
GENERAL.DEFAULT:                        yes
GENERAL.DEFAULT6:                       yes
GENERAL.SPEC-OBJECT:                    --
GENERAL.VPN:                            no
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/Settings/1
GENERAL.ZONE:                           --
GENERAL.MASTER-PATH:                    --
IP4.ADDRESS[1]:                         192.168.0.139/24
IP4.GATEWAY:                            192.168.0.1
IP4.ROUTE[1]:                           dst = 192.168.0.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]:                           dst = 0.0.0.0/0, nh = 192.168.0.1, mt = 20100
DHCP4.OPTION[1]:                        dhcp_lease_time = 86400
DHCP4.OPTION[2]:                        dhcp_server_identifier = 192.168.0.1
DHCP4.OPTION[3]:                        domain_name_servers = 192.168.0.1 0.0.0.0
DHCP4.OPTION[4]:                        expiry = 1676069638
DHCP4.OPTION[5]:                        ip_address = 192.168.0.139
DHCP4.OPTION[6]:                        requested_broadcast_address = 1
DHCP4.OPTION[7]:                        requested_domain_name = 1
DHCP4.OPTION[8]:                        requested_domain_name_servers = 1
DHCP4.OPTION[9]:                        requested_domain_search = 1
DHCP4.OPTION[10]:                       requested_host_name = 1
DHCP4.OPTION[11]:                       requested_interface_mtu = 1
DHCP4.OPTION[12]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[13]:                       requested_nis_domain = 1
DHCP4.OPTION[14]:                       requested_nis_servers = 1
DHCP4.OPTION[15]:                       requested_ntp_servers = 1
DHCP4.OPTION[16]:                       requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[17]:                       requested_root_path = 1
DHCP4.OPTION[18]:                       requested_routers = 1
DHCP4.OPTION[19]:                       requested_static_routes = 1
DHCP4.OPTION[20]:                       requested_subnet_mask = 1
DHCP4.OPTION[21]:                       requested_time_offset = 1
DHCP4.OPTION[22]:                       requested_wpad = 1
DHCP4.OPTION[23]:                       routers = 192.168.0.1
DHCP4.OPTION[24]:                       subnet_mask = 255.255.255.0
IP6.ADDRESS[1]:                         fd0b:d9d8:9e3d:0:c053:6a49:5d84:2aa2/64
IP6.ADDRESS[2]:                         fd01::c315:d20c:7972:ca15/64
IP6.ADDRESS[3]:                         fe80::b178:a899:45b:9a1d/64
IP6.GATEWAY:                            fe80::e288:5dff:fe02:7f6
IP6.ROUTE[1]:                           dst = fd0b:d9d8:9e3d::/64, nh = ::, mt = 100
IP6.ROUTE[2]:                           dst = fe80::/64, nh = ::, mt = 1024
IP6.ROUTE[3]:                           dst = ::/0, nh = fe80::e288:5dff:fe02:7f6, mt = 20100
IP6.ROUTE[4]:                           dst = ::/0, nh = fe80::c6a8:1dff:fe46:205c, mt = 20100
IP6.ROUTE[5]:                           dst = ::/0, nh = fe80::4aee:cff:fe1e:b8fb, mt = 20100
IP6.ROUTE[6]:                           dst = ::/0, nh = fe80::a2ab:1bff:fe13:ef49, mt = 20100
IP6.ROUTE[7]:                           dst = ::/0, nh = fe80::e66f:13ff:fe08:33dd, mt = 20100
IP6.ROUTE[8]:                           dst = ::/0, nh = fe80::3e1e:4ff:fe7e:327a, mt = 20100
IP6.ROUTE[9]:                           dst = ::/0, nh = fe80::c612:f5ff:fe54:32f, mt = 20100
IP6.ROUTE[10]:                          dst = ::/0, nh = fe80::21a:3fff:fe89:7bbd, mt = 20100
IP6.ROUTE[11]:                          dst = ::/0, nh = fe80::e66f:13ff:fe8c:7969, mt = 20100
IP6.ROUTE[12]:                          dst = ::/0, nh = fe80::26fd:dff:fe58:d1a7, mt = 20100
IP6.ROUTE[13]:                          dst = ::/0, nh = fe80::5a10:8cff:fe85:dea9, mt = 20100
IP6.ROUTE[14]:                          dst = ::/0, nh = fe80::3e1e:4ff:fe78:a02, mt = 20100
IP6.ROUTE[15]:                          dst = ::/0, nh = fe80::928d:78ff:fe70:54c7, mt = 20100
IP6.ROUTE[16]:                          dst = fd01::/64, nh = ::, mt = 100
IP6.DNS[1]:                             fe80::4aee:cff:fe1e:b8fb
IP6.DNS[2]:                             fe80::360a:33ff:feeb:cc7a

Well, I tried posting the output here a while ago and the automatic spam filter caught it. Maybe it was the format? It said it will be reviewed soon by the staff, but still nothing by now. I’ll try again. If the staff see this (sorry first), leave this post on the topic. It has more updated output requested by the @vgaetera

> ipconfig /all & route print
Windows IP Configuration

   Host Name . . . . . . . . . . . . : DESKTOP-VR9TT5K
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : ufrgs.br

Ethernet adapter Ethernet 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
   Physical Address. . . . . . . . . : 0A-00-27-00-00-07
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::bc36:6e8:c8c5:117a%7(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 302645287
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2A-56-9F-2D-34-97-F6-7D-83-38
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : ufrgs.br
   Description . . . . . . . . . . . : Intel(R) Ethernet Connection (2) I219-V
   Physical Address. . . . . . . . . : 34-97-F6-7D-83-38
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : fd01::1690:4742:b9fe:c38e(Preferred)
   IPv6 Address. . . . . . . . . . . : fd0b:d9d8:9e3d:0:4143:244a:b423:2914(Preferred)
   Temporary IPv6 Address. . . . . . : fd01::c03d:ed6a:9058:dab2(Preferred)
   Temporary IPv6 Address. . . . . . : fd0b:d9d8:9e3d:0:c03d:ed6a:9058:dab2(Preferred)
   Link-local IPv6 Address . . . . . : fe80::5e32:c462:48ba:5cad%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 143.54.175.37(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.248.0
   Lease Obtained. . . . . . . . . . : quinta-feira, 9 de fevereiro de 2023 20:04:07
   Lease Expires . . . . . . . . . . : sexta-feira, 10 de fevereiro de 2023 00:04:07
   Default Gateway . . . . . . . . . : fe80::e288:5dff:fe02:7f6%11
                                       fe80::a2ab:1bff:fe13:ef49%11
                                       fe80::c612:f5ff:fe54:32f%11
                                       fe80::21a:3fff:fe89:7bbd%11
                                       fe80::3e1e:4ff:fe7e:327a%11
                                       fe80::c6a8:1dff:fe46:205c%11
                                       fe80::4aee:cff:fe1e:b8fb%11
                                       fe80::928d:78ff:fe70:54c7%11
                                       fe80::5a10:8cff:fe85:dea9%11
                                       fe80::26fd:dff:fe58:d1a7%11
                                       fe80::3e1e:4ff:fe78:a02%11
                                       fe80::e66f:13ff:fe08:33dd%11
                                       fe80::e66f:13ff:fe8c:7969%11
                                       143.54.168.1
   DHCP Server . . . . . . . . . . . : 143.54.168.1
   DHCPv6 IAID . . . . . . . . . . . : 104110070
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2A-56-9F-2D-34-97-F6-7D-83-38
   DNS Servers . . . . . . . . . . . : 143.54.168.1
   NetBIOS over Tcpip. . . . . . . . : Enabled
===========================================================================
Interface List
  7...0a 00 27 00 00 07 ......VirtualBox Host-Only Ethernet Adapter
 11...34 97 f6 7d 83 38 ......Intel(R) Ethernet Connection (2) I219-V
  1...........................Software Loopback Interface 1
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     143.54.168.1    143.54.175.37     35
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
     143.54.168.0    255.255.248.0         On-link     143.54.175.37    291
    143.54.175.37  255.255.255.255         On-link     143.54.175.37    291
   143.54.175.255  255.255.255.255         On-link     143.54.175.37    291
     192.168.56.0    255.255.255.0         On-link      192.168.56.1    281
     192.168.56.1  255.255.255.255         On-link      192.168.56.1    281
   192.168.56.255  255.255.255.255         On-link      192.168.56.1    281
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link      192.168.56.1    281
        224.0.0.0        240.0.0.0         On-link     143.54.175.37    291
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link      192.168.56.1    281
  255.255.255.255  255.255.255.255         On-link     143.54.175.37    291
===========================================================================
Persistent Routes:
  None

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
 11    291 ::/0                     fe80::e288:5dff:fe02:7f6
 11    291 ::/0                     fe80::a2ab:1bff:fe13:ef49
 11    291 ::/0                     fe80::c612:f5ff:fe54:32f
 11    291 ::/0                     fe80::21a:3fff:fe89:7bbd
 11    291 ::/0                     fe80::3e1e:4ff:fe7e:327a
 11    291 ::/0                     fe80::c6a8:1dff:fe46:205c
 11    291 ::/0                     fe80::4aee:cff:fe1e:b8fb
 11    291 ::/0                     fe80::928d:78ff:fe70:54c7
 11    291 ::/0                     fe80::5a10:8cff:fe85:dea9
 11    291 ::/0                     fe80::26fd:dff:fe58:d1a7
 11    291 ::/0                     fe80::3e1e:4ff:fe78:a02
 11    291 ::/0                     fe80::e66f:13ff:fe08:33dd
 11    291 ::/0                     fe80::e66f:13ff:fe8c:7969
  1    331 ::1/128                  On-link
 11    291 fd01::/64                On-link
 11    291 fd01::1690:4742:b9fe:c38e/128
                                    On-link
 11    291 fd01::c03d:ed6a:9058:dab2/128
                                    On-link
 11    291 fd0b:d9d8:9e3d::/64      On-link
 11    291 fd0b:d9d8:9e3d:0:4143:244a:b423:2914/128
                                    On-link
 11    291 fd0b:d9d8:9e3d:0:c03d:ed6a:9058:dab2/128
                                    On-link
  7    281 fe80::/64                On-link
 11    291 fe80::/64                On-link
 11    291 fe80::5e32:c462:48ba:5cad/128
                                    On-link
  7    281 fe80::bc36:6e8:c8c5:117a/128
                                    On-link
  1    331 ff00::/8                 On-link
  7    281 ff00::/8                 On-link
 11    291 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None


> nslookup ufrgs.br
Server:  addr-143-54-168-1.semfio.ufrgs.br.br
Address:  143.54.168.1

Non-authoritative answer:
Name:    ufrgs.br
Addresses:  2804:1f20:0:1::20
          143.54.2.20


> ipconfig /all & route print
[1] 2187
Usage: route [-nNvee] [-FC] [<AF>]           List kernel routing tables
       route [-v] [-FC] {add|del|flush} ...  Modify routing table for AF.

       route {-h|--help} [<AF>]              Detailed usage syntax for specified AF.
       route {-V|--version}                  Display version/author and exit.

        -v, --verbose            be verbose
        -n, --numeric            don't resolve names
        -e, --extend             display other/more information
        -F, --fib                display Forwarding Information Base (default)
        -C, --cache              display routing cache instead of FIB

  <AF>=Use -4, -6, '-A <af>' or '--<af>'; default: inet
  List of possible address families (which support routing):
    inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
    netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
    x25 (CCITT X.25)


$ ip address show; ip route show table all
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 34:97:f6:7d:83:38 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.139/24 brd 192.168.0.255 scope global dynamic noprefixroute enp0s31f6
       valid_lft 86046sec preferred_lft 86046sec
    inet6 fd0b:d9d8:9e3d:0:c053:6a49:5d84:2aa2/64 scope global dynamic noprefixroute
       valid_lft 2591984sec preferred_lft 604784sec
    inet6 fd01::c315:d20c:7972:ca15/64 scope global dynamic noprefixroute
       valid_lft 253sec preferred_lft 253sec
    inet6 fe80::b178:a899:45b:9a1d/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
default via 192.168.0.1 dev enp0s31f6 proto dhcp src 192.168.0.139 metric 20100
192.168.0.0/24 dev enp0s31f6 proto kernel scope link src 192.168.0.139 metric 100
local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1
local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1
broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1
local 192.168.0.139 dev enp0s31f6 table local proto kernel scope host src 192.168.0.139
broadcast 192.168.0.255 dev enp0s31f6 table local proto kernel scope link src 192.168.0.139
::1 dev lo proto kernel metric 256 pref medium
fd01::/64 dev enp0s31f6 proto ra metric 100 pref medium
fd0b:d9d8:9e3d::/64 dev enp0s31f6 proto ra metric 100 pref medium
fe80::/64 dev enp0s31f6 proto kernel metric 1024 pref medium
default proto ra metric 20100 pref medium
        nexthop via fe80::e288:5dff:fe02:7f6 dev enp0s31f6 weight 1
        nexthop via fe80::5a10:8cff:fe85:dea9 dev enp0s31f6 weight 1
        nexthop via fe80::4aee:cff:fe1e:b8fb dev enp0s31f6 weight 1
        nexthop via fe80::928d:78ff:fe70:54c7 dev enp0s31f6 weight 1
        nexthop via fe80::3e1e:4ff:fe7e:327a dev enp0s31f6 weight 1
        nexthop via fe80::a2ab:1bff:fe13:ef49 dev enp0s31f6 weight 1
        nexthop via fe80::e66f:13ff:fe08:33dd dev enp0s31f6 weight 1
        nexthop via fe80::26fd:dff:fe58:d1a7 dev enp0s31f6 weight 1
        nexthop via fe80::c612:f5ff:fe54:32f dev enp0s31f6 weight 1
        nexthop via fe80::21a:3fff:fe89:7bbd dev enp0s31f6 weight 1
        nexthop via fe80::e66f:13ff:fe8c:7969 dev enp0s31f6 weight 1
        nexthop via fe80::c6a8:1dff:fe46:205c dev enp0s31f6 weight 1
        nexthop via fe80::3e1e:4ff:fe78:a02 dev enp0s31f6 weight 1
local ::1 dev lo table local proto kernel metric 0 pref medium
local fd01::c315:d20c:7972:ca15 dev enp0s31f6 table local proto kernel metric 0 pref medium
local fd0b:d9d8:9e3d:0:c053:6a49:5d84:2aa2 dev enp0s31f6 table local proto kernel metric 0 pref medium
local fe80::b178:a899:45b:9a1d dev enp0s31f6 table local proto kernel metric 0 pref medium
multicast ff00::/8 dev enp0s31f6 table local proto kernel metric 256 pref medium



$ resolvectl query ufrgs.br
ufrgs.br: resolve call failed: Could not resolve 'ufrgs.br', server or network returned error REFUSED


$ nmcli connection show
NAME   UUID                                  TYPE      DEVICE
Wired  ba10a6c3-7069-4f0b-9f17-063e0541c08c  ethernet  enp0s31f6


$ PAGER= nmcli connection show ba10a6c3-7069-4f0b-9f17-063e0541c08c
connection.id:                          Wired
connection.uuid:                        ba10a6c3-7069-4f0b-9f17-063e0541c08c
connection.stable-id:                   --
connection.type:                        802-3-ethernet
connection.interface-name:              --
connection.autoconnect:                 yes
connection.autoconnect-priority:        0
connection.autoconnect-retries:         -1 (default)
connection.multi-connect:               0 (default)
connection.auth-retries:                -1
connection.timestamp:                   1675993966
connection.read-only:                   no
connection.permissions:                 --
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.autoconnect-slaves:          -1 (default)
connection.secondaries:                 --
connection.gateway-ping-timeout:        0
connection.metered:                     no
connection.lldp:                        default
connection.mdns:                        -1 (default)
connection.llmnr:                       -1 (default)
connection.dns-over-tls:                -1 (default)
connection.mptcp-flags:                 0x0 (default)
connection.wait-device-timeout:         -1
connection.wait-activation-delay:       -1
802-3-ethernet.port:                    --
802-3-ethernet.speed:                   0
802-3-ethernet.duplex:                  --
802-3-ethernet.auto-negotiate:          yes
802-3-ethernet.mac-address:             --
802-3-ethernet.cloned-mac-address:      --
802-3-ethernet.generate-mac-address-mask:--
802-3-ethernet.mac-address-blacklist:   --
802-3-ethernet.mtu:                     auto
802-3-ethernet.s390-subchannels:        --
802-3-ethernet.s390-nettype:            --
802-3-ethernet.s390-options:            --
802-3-ethernet.wake-on-lan:             default
802-3-ethernet.wake-on-lan-password:    --
802-3-ethernet.accept-all-mac-addresses:-1 (default)
ipv4.method:                            auto
ipv4.dns:                               --
ipv4.dns-search:                        --
ipv4.dns-options:                       --
ipv4.dns-priority:                      0
ipv4.addresses:                         --
ipv4.gateway:                           --
ipv4.routes:                            --
ipv4.route-metric:                      -1
ipv4.route-table:                       0 (unspec)
ipv4.routing-rules:                     --
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   yes
ipv4.dhcp-client-id:                    --
ipv4.dhcp-iaid:                         --
ipv4.dhcp-timeout:                      0 (default)
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.dhcp-fqdn:                         --
ipv4.dhcp-hostname-flags:               0x0 (none)
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv4.required-timeout:                  -1 (default)
ipv4.dad-timeout:                       -1 (default)
ipv4.dhcp-vendor-class-identifier:      --
ipv4.link-local:                        0 (default)
ipv4.dhcp-reject-servers:               --
ipv6.method:                            auto
ipv6.dns:                               --
ipv6.dns-search:                        --
ipv6.dns-options:                       --
ipv6.dns-priority:                      0
ipv6.addresses:                         --
ipv6.gateway:                           --
ipv6.routes:                            --
ipv6.route-metric:                      -1
ipv6.route-table:                       0 (unspec)
ipv6.routing-rules:                     --
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.required-timeout:                  -1 (default)
ipv6.ip6-privacy:                       -1 (unknown)
ipv6.addr-gen-mode:                     stable-privacy
ipv6.ra-timeout:                        0 (default)
ipv6.mtu:                               auto
ipv6.dhcp-duid:                         --
ipv6.dhcp-iaid:                         --
ipv6.dhcp-timeout:                      0 (default)
ipv6.dhcp-send-hostname:                yes
ipv6.dhcp-hostname:                     --
ipv6.dhcp-hostname-flags:               0x0 (none)
ipv6.token:                             --
proxy.method:                           none
proxy.browser-only:                     no
proxy.pac-url:                          --
proxy.pac-script:                       --
GENERAL.NAME:                           Wired
GENERAL.UUID:                           ba10a6c3-7069-4f0b-9f17-063e0541c08c
GENERAL.DEVICES:                        enp0s31f6
GENERAL.IP-IFACE:                       enp0s31f6
GENERAL.STATE:                          activated
GENERAL.DEFAULT:                        yes
GENERAL.DEFAULT6:                       yes
GENERAL.SPEC-OBJECT:                    --
GENERAL.VPN:                            no
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/Settings/1
GENERAL.ZONE:                           --
GENERAL.MASTER-PATH:                    --
IP4.ADDRESS[1]:                         192.168.0.139/24
IP4.GATEWAY:                            192.168.0.1
IP4.ROUTE[1]:                           dst = 192.168.0.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]:                           dst = 0.0.0.0/0, nh = 192.168.0.1, mt = 20100
DHCP4.OPTION[1]:                        dhcp_lease_time = 86400
DHCP4.OPTION[2]:                        dhcp_server_identifier = 192.168.0.1
DHCP4.OPTION[3]:                        domain_name_servers = 192.168.0.1 0.0.0.0
DHCP4.OPTION[4]:                        expiry = 1676080366
DHCP4.OPTION[5]:                        ip_address = 192.168.0.139
DHCP4.OPTION[6]:                        requested_broadcast_address = 1
DHCP4.OPTION[7]:                        requested_domain_name = 1
DHCP4.OPTION[8]:                        requested_domain_name_servers = 1
DHCP4.OPTION[9]:                        requested_domain_search = 1
DHCP4.OPTION[10]:                       requested_host_name = 1
DHCP4.OPTION[11]:                       requested_interface_mtu = 1
DHCP4.OPTION[12]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[13]:                       requested_nis_domain = 1
DHCP4.OPTION[14]:                       requested_nis_servers = 1
DHCP4.OPTION[15]:                       requested_ntp_servers = 1
DHCP4.OPTION[16]:                       requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[17]:                       requested_root_path = 1
DHCP4.OPTION[18]:                       requested_routers = 1
DHCP4.OPTION[19]:                       requested_static_routes = 1
DHCP4.OPTION[20]:                       requested_subnet_mask = 1
DHCP4.OPTION[21]:                       requested_time_offset = 1
DHCP4.OPTION[22]:                       requested_wpad = 1
DHCP4.OPTION[23]:                       routers = 192.168.0.1
DHCP4.OPTION[24]:                       subnet_mask = 255.255.255.0
IP6.ADDRESS[1]:                         fd0b:d9d8:9e3d:0:c053:6a49:5d84:2aa2/64
IP6.ADDRESS[2]:                         fd01::c315:d20c:7972:ca15/64
IP6.ADDRESS[3]:                         fe80::b178:a899:45b:9a1d/64
IP6.GATEWAY:                            fe80::e288:5dff:fe02:7f6
IP6.ROUTE[1]:                           dst = fd0b:d9d8:9e3d::/64, nh = ::, mt = 100
IP6.ROUTE[2]:                           dst = fe80::/64, nh = ::, mt = 1024
IP6.ROUTE[3]:                           dst = ::/0, nh = fe80::e288:5dff:fe02:7f6, mt = 20100
IP6.ROUTE[4]:                           dst = ::/0, nh = fe80::5a10:8cff:fe85:dea9, mt = 20100
IP6.ROUTE[5]:                           dst = ::/0, nh = fe80::4aee:cff:fe1e:b8fb, mt = 20100
IP6.ROUTE[6]:                           dst = ::/0, nh = fe80::928d:78ff:fe70:54c7, mt = 20100
IP6.ROUTE[7]:                           dst = ::/0, nh = fe80::3e1e:4ff:fe7e:327a, mt = 20100
IP6.ROUTE[8]:                           dst = ::/0, nh = fe80::a2ab:1bff:fe13:ef49, mt = 20100
IP6.ROUTE[9]:                           dst = ::/0, nh = fe80::e66f:13ff:fe08:33dd, mt = 20100
IP6.ROUTE[10]:                          dst = ::/0, nh = fe80::26fd:dff:fe58:d1a7, mt = 20100
IP6.ROUTE[11]:                          dst = ::/0, nh = fe80::c612:f5ff:fe54:32f, mt = 20100
IP6.ROUTE[12]:                          dst = ::/0, nh = fe80::21a:3fff:fe89:7bbd, mt = 20100
IP6.ROUTE[13]:                          dst = fd01::/64, nh = ::, mt = 100
IP6.ROUTE[14]:                          dst = ::/0, nh = fe80::e66f:13ff:fe8c:7969, mt = 20100
IP6.ROUTE[15]:                          dst = ::/0, nh = fe80::c6a8:1dff:fe46:205c, mt = 20100
IP6.ROUTE[16]:                          dst = ::/0, nh = fe80::3e1e:4ff:fe78:a02, mt = 20100
IP6.DNS[1]:                             fe80::4aee:cff:fe1e:b8fb
IP6.DNS[2]:                             fe80::360a:33ff:feeb:cc7a

Try disabling non-responsive peer DNS and specify a valid custom IPv4 DNS:

nmcli connection modify id Wired \
    ipv4.ignore-auto-dns yes \
    ipv6.ignore-auto-dns yes \
    ipv4.dns 8.8.8.8,8.8.4.4
nmcli connection up id Wired

Then check the resolver status and the domain name resolution.
If the issue persists, try using the gateway IPv4 as your DNS.

(ETA-NB) Before attempting the below, try what I just tried which is

sudo systemctl stop systemd-resolved.service

This stops the local BIND server and name resolution requests get delegated to the configured local (DHCP-supplied) DNS service.


I don’t know why Fedora is configured for DNS requests out of the box like it is; I have problems resolving local addresses but only with Fedora (not Windows or Mac or Debian and other Linux distros).

Without knowing anything about your network topology other than you’re using cable internet (like a home setup perhaps, like my LAN perhaps) and the address you’re attempting to reach - whether it’s local or it’s only reachable outside your local router - you could try this which I’ve had to do to on at least 2 Fedora installations to get some amount of local host name resolution working on Fedora:

Also note this is temporary - the configuration will return to default after a reboot. I haven’t yet figured out how to make it more permanent.

sudo unlink /etc/resolv.conf
sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
sudo systemctl restart systemd-resolved.service

It would be interesting to know what you get back when you try to resolve the hostname you’re attempting to connect to via dig <hostname> before and after the mod. Also I’m assuming that /etc/resolv.conf is initially symlink’d to /run/systemd/resolve/stub-resolv.conf

On my machine(s), the resolver on Fedora wants to channel everything to it’s local BIND server at 127.0.0.53. This knows about /etc/hosts and maybe other methods of name resolution, but I’m not aware of them. What we need to do, at least short term, is stop 127.0.0.53 getting in on the act and instead routing the name resolution request to the configured DNS address, i.e. the one supplied by your router/DHCP when you boot up.

It looks to me like Fedora relies on LLMNR (Link Local Multicast Name Resolution) to register and potentially resolve (that part doesn’t seem to work) local host names too.

In the worst case situation, back out the changes that I suggested above and create an entry in your hosts file for the host you’re trying to reach. It’s as simple as a line containing:

<hostname><whitespace><ip address>

e.g.

host-i-m-trying-to-reach 10.10.1.2 # <ipv4-address>

or e.g.

host-i-m-trying-to-reach ffff:1234:5678::1 # <ipv6-address>

Good luck and let us know if you made any progress or are still having difficulty.

ETA: The obvious problem with putting IP addresses in hosts file that are dynamic or otherwise subject to change is that they become stale and you could end up connecting to a server you didn’t intend to, with potential for security issues. Modifying /etc/hosts should only be seen as a temporary solution to get you around name resolution problems.

Thanks for your help, guys. These are the outputs:

$ nmcli connection modify id Wired \ ipv4.ignore-auto-dns yes \ ipv6.ignore-auto-dns yes \ ipv4.dns 8.8.8.8,8.8.4.4 nmcli connection up id Wired

Error: invalid or not allowed setting ' ipv4': ' ipv4' not among [connection, 802-3-ethernet (ethernet), 802-1x, dcb, sriov, ethtool, match, ipv4, ipv6, hostname, tc, proxy].


$ resolvectl --no-pager status
Global
       Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub

Link 2 (enp0s31f6)
    Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
         Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.0.1
       DNS Servers: 192.168.0.1 fe80::360a:33ff:feeb:cc7a%32540 fe80::4aee:cff:fe1e:b8fb%32540


$ resolvectl query ufrgs.br
ufrgs.br: resolve call failed: Could not resolve 'ufrgs.br', server or network returned error REFUSED


$ dig ufrgs.br
;; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out

; <<>> DiG 9.18.7 <<>> ufrgs.br
;; global options: +cmd
;; no servers could be reached


AFTER TYPING:
$ sudo unlink /etc/resolv.conf
$ sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
$ sudo systemctl restart systemd-resolved.service

$ dig ufrgs.br
;; communications error to 192.168.0.1#53: connection refused
;; communications error to 192.168.0.1#53: connection refused
;; communications error to 192.168.0.1#53: connection refused

; <<>> DiG 9.18.7 <<>> ufrgs.br
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 40741
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ufrgs.br.                      IN      A

;; Query time: 4 msec
;; SERVER: fe80::360a:33ff:feeb:cc7a%2#53(fe80::360a:33ff:feeb:cc7a%2%2) (UDP)
;; WHEN: Fri Feb 10 08:56:56 -03 2023
;; MSG SIZE  rcvd: 26

I don’t know how to do the instructions at the end, @icantremember, sorry.

This was actually 2 commands and should have been read as

nmcli connection modify id Wired ipv4.ignore-auto-dns yes ipv6.ignore-auto-dns yes ipv4.dns 8.8.8.8,8.8.4.4 
nmcli connection up id Wired

Sorry, that.
That didn’t work either.

$ nmcli connection modify id Wired ipv4.ignore-auto-dns yes ipv6.ignore-auto-dns yes ipv4.dns 8.8.8.8,8.8.4.4

$ nmcli connection up id Wired
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/2)

$ dig ufrgs.br
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.4.4#53: timed out

; <<>> DiG 9.18.7 <<>> ufrgs.br
;; global options: +cmd
;; no servers could be reached

So the initial problem was indeed that your name resolution request was being sent to the local BIND server on 127.0.0.53, a local address. When you changed the resolv.conf link then the correct DNS address 192.168.0.1 is now being used.

But now you’re getting connection refused meaning that the resolver is trying to connect via TCP, not UDP. This can happen if the name resolution request is larger than the supported packet size (typically 512 bytes). I presume that the router isn’t configured to respond to DNS requests over TCP which seems somewhat strange. The obvious question if this is happening is why, although it shouldn’t be an issue. I notice that your network setup seems to heavily use IPv6 addresses which will increase the amount of data sent and received, but again I wouldn’t have thought a typical request would trigger using TCP.

I presume you mean editing the hosts file? If I resolve the name ufrgs.br I get 143.54.2.20

So you could do this:

sudo nano /etc/hosts
go to the bottom of the file (e.g. ctrl-/ then 9999 or just down-arrow till you reach the bottom)
enter "ufrgs.br 143.54.2.20" on an empty line (without the quotes)
ctrl-o to write the file then return at the prompt
ctrl-x to exit nano

Then try resolving ufrgs.br again with dig or nslookup and if you get back the correct IPv4 address then you should be able to connect to it. The name resolution won’t go via a network request to the DNS server on the router but will simply return the address from the local /etc/hosts file.

This is not the fix you want, but should get you past the initial problem of not being able to log into your university account. Of course there may be redirections to other servers and you may get the same problem again!

Off hand I don’t know why you’re getting connection refused from the name request. I’ve never seen that happen and without doing a bunch of googling and possibly network sniffing I don’t know how to fix it. There’s evidently a configuration issue between Fedora and your university’s setup that’s not being replicated on other OS’s, so it would seem to be a problem unique to Fedora, or one that Fedora is surfacing.

Once again, good luck!

Can you get to the server using the IP address? It looks like you’re having more problems than just name resolution. It also looks like basic network routing isn’t working properly.

Can you ping the addresses? Can you reach them from other OS’s?

Are you accessing the network from within a VM or this an on-the-metal installation? I saw mention of VirtualBox above, although that was probably just enumerating interfaces, of which a VirtualBox virtual adapter is one?

(I’m assuming you’re using the same network, router, and name resolution services to get to ask.fedoraproject.com, although you could be using phone service)

You might try editing /etc/systemd/resolved.conf too. Mine looks like this:

[Resolve]
# Some examples of DNS servers which may be used for DNS= and FallbackDNS=:
# Cloudflare: 1.1.1.1#cloudflare-dns.com 1.0.0.1#cloudflare-dns.com 2606:4700:4700::1111#cloudflare-dns.com 2606:4700:4700::1001#cloudflare-dns.com
# Google:     8.8.8.8#dns.google 8.8.4.4#dns.google 2001:4860:4860::8888#dns.google 2001:4860:4860::8844#dns.google
# Quad9:      9.9.9.9#dns.quad9.net 149.112.112.112#dns.quad9.net 2620:fe::fe#dns.quad9.net 2620:fe::9#dns.quad9.net
#DNS=
#FallbackDNS=
#Domains=
#DNSSEC=no
#DNSOverTLS=no
#MulticastDNS=no
MulticastDNS=no
#LLMNR=resolve
LLMNR=no
#Cache=yes
#CacheFromLocalhost=no
#DNSStubListener=yes
DNSStubListener=no
#DNSStubListenerExtra=
#ReadEtcHosts=yes
#ResolveUnicastSingleLabel=no

i.e. I set LLMNR=no and MulticastDNS=no; You could try putting the DNS servers
in the DNS= or FallbackDNS= lines after un-commenting them too.

I don’t know if any of these changes will work: I am suspicious of LLMNR if only because I don’t see it mentioned in any other OS’s I use and I’ve witnessed Fedora doing some strange behavior sending DNS request packets to an address or port that isn’t responded to by my router. I also believe that it’s old tech that isn’t much used anymore.

You might also open the network control settings for that connection and try disabling IPv6 totally. Sometimes there can be enough conflicts that simply removing the IPv6 config from the picture solves the issues.

If the network is configured to only use IPv6 addresses then disabling the IPv6 stack is going to result in a computer that can’t communicate.

It could well be that Brazil is ahead of the US in this regard (plenty of tech around the world is ahead of the US).

True, but we don’t know that yet.

So, changing the /etc/hosts didn’t help.

AFTER CHANGING /etc/hosts
$ dig ufrgs.br
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.4.4#53: timed out

; <<>> DiG 9.18.7 <<>> ufrgs.br
;; global options: +cmd
;; no servers could be reached

I don’t know what you mean by “Can you get to the server using the IP address?”
My internet connection though Windows 11 is fine.
My virtual box is on Windows.
I’m acessing this forum on Windows 11. I’m not using phone service.

Editing the /etc/systemd/resolved.conf didn’t work too. I even restarted the computer.

In this dorm, when we buy ours modens, an intern has to come in and do the setup. Maybe I can ask one for help.

Unfortunately the changes you made to resolve.conf and resolved.conf will be reset after a reboot: I did mention that. The changes to /etc/hosts should still be there however.

I meant can you e.g. ping 143.54.2.20 or connect to https://143.54.2.20/ in a browser? Basically, bypassing the hostname resolution entirely (but using the IPv4 address that I found by doing a lookup on my Fedora laptop). It’s just a basic sanity check. Name resolution appears to be broken for some reason. I believe we solved the initial issue but then had the problem with the connection being refused, which I don’t understand.

Talking to someone who knows the local network topology would definitely be a good idea IMHO. At this point I’d start sniffing the network with Wireshark but it still wouldn’t help if you could see packets going to a service and either being ignored or NACK’d. Comparing network traces with ones from a setup that works would help, but it’s quite a bit of work if you’re not already familiar with it.

The weird part is that IPs obtained by Windows and Linux belong to entirely different subnets - one is globally routed and other is private.
Assuming that MAC address cloning is not involved, the difference could be explained with some VLAN/PNAC settings, or DHCP client/server options including OS-specific ones, or possibly a race condition with another rogue DHCP server.
So, I recommend contacting your network administrator to inform about the issue and clarify connection instructions.

1 Like

If and when you find out the issue can you let us know, if it’s something that would benefit other Fedora users that is (I also use the KDE spin but I wouldn’t expect the DE to have any effect. Still, I shouldn’t assume…)

— even it is nothing to do with Fedora, other users who encounter similar issues could benefit. Just knowing that IT support fixed the issue could steer others towards a solution.