Fórumok
Üdv!
Most akkor a fc34 esetén hol kell beállítani a dns feloldást? A /etc/resolv.conf nem él, csak egy link, de nincs DNS feloldás...
Az /etc/systemd/resolved.conf-ban bent van: DNS=8.8.8.8 8.8.4.4
couldn't resolve host name google.com
- 157 megtekintés
Hozzászólások
~# resolvectl
Global
Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
DNS Servers: 8.8.8.8 8.8.4.4
Link 2 (enp5s0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 3 (enp6s0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 4 (br0)
Current Scopes: none
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
DNS Servers: 10.0.0.15 8.8.8.8
Failed to get link data for 5: Unknown object '/org/freedesktop/resolve1/link/_35'.
Failed to get link data for 6: Unknown object '/org/freedesktop/resolve1/link/_36'.
Failed to get link data for 7: Unknown object '/org/freedesktop/resolve1/link/_37'.
resolv.conf
~# cat /etc/resolv.conf
nameserver 127.0.0.53
options edns0 trust-ad
search .
Nem egészen értem, hogy miért nem veszi át a beállított DNS-t (8.8.8.8 8.8.4.4) a resolv.conf-ba.
- A hozzászóláshoz be kell jelentkezni
Most működik, úgy tűnik:
# /etc/systemd/resolved.conf
DNS=8.8.8.8 8.8.4.4
Domains=~.
/etc/resolv.conf:
nameserver 127.0.0.53
options edns0 trust-ad
search .
A systemd-resolved service aktív.
~# resolvectl status
Global
Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
DNS Servers: 8.8.8.8 8.8.4.4
DNS Domain: ~.
Link 2 (enp5s0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 3 (enp6s0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 4 (br0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
DNS Servers: 10.0.0.15 8.8.8.8
Link 5 (lxcbr0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 6 (vethsp3ELX)
Current Scopes: LLMNR/IPv6
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 7 (virbr0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
~# resolvectl dns
Global: 8.8.8.8 8.8.4.4
Link 2 (enp5s0):
Link 3 (enp6s0):
Link 4 (br0): 10.0.0.15 8.8.8.8
Link 5 (lxcbr0):
Link 6 (vethsp3ELX):
Link 7 (virbr0):
- A hozzászóláshoz be kell jelentkezni
man resolved.conf
// Hocus Pocus, grab the focus
winSetFocus(...)
http://c2.com/cgi/wiki?FunnyThingsSeenInSourceCodeAndDocumentation
- A hozzászóláshoz be kell jelentkezni
Igen, ezt én is olvastam és további infókat a neten. Csak nem volt konkrétabb példa a beállításokra.
Most már kezd tisztulni a dolog. :)
Köszönöm!
- A hozzászóláshoz be kell jelentkezni