Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Naliczylem 4 glowne pliki konfigu DNS na localhost:
2 z nich nie zmieniaja sie po wpieciu modemu Huawei:
cat /etc/systemd/resolved.conf # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # # Entries in this file show the compile time defaults. # You can change settings by editing this file. # Defaults can be restored by simply deleting this file. # # See resolved.conf(5) for details [Resolve] DNS=8.8.8.8 1.1.1.1 #FallbackDNS= #Domains= #LLMNR=yes #MulticastDNS=yes DNSSEC=no #DNSOverTLS=no #Cache=yes DNSStubListener=yes #ReadEtcHosts=yes
cat /run/resolvconf/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.0.53 search localdomain
2 pozostale zmieniaja sie po wpieciu modemu Huawei i utracie polaczenia.
cat /etc/resolv.conf # This file is managed by man:systemd-resolved(8). Do not edit. # # This is a dynamic resolv.conf file for connecting local clients directly to # all known uplink DNS servers. This file lists all configured search domains. # # Third party programs must not access this file directly, but only through the # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way, # replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 8.8.8.8 nameserver 1.1.1.1 nameserver 8.8.4.4 search localdomain
zamienia sie na:
cat /etc/resolv.conf # This file is managed by man:systemd-resolved(8). Do not edit. # # This is a dynamic resolv.conf file for connecting local clients directly to # all known uplink DNS servers. This file lists all configured search domains. # # Third party programs must not access this file directly, but only through the # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way, # replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 8.8.8.8 nameserver 1.1.1.1 nameserver 192.168.8.1
oraz:
cat /run/systemd/resolve/resolv.conf # This file is managed by man:systemd-resolved(8). Do not edit. # # This is a dynamic resolv.conf file for connecting local clients directly to # all known uplink DNS servers. This file lists all configured search domains. # # Third party programs must not access this file directly, but only through the # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way, # replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 8.8.8.8 nameserver 1.1.1.1 nameserver 8.8.4.4 search localdomain
zamienia sie na:
cat /run/systemd/resolve/resolv.conf # This file is managed by man:systemd-resolved(8). Do not edit. # # This is a dynamic resolv.conf file for connecting local clients directly to # all known uplink DNS servers. This file lists all configured search domains. # # Third party programs must not access this file directly, but only through the # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way, # replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 8.8.8.8 nameserver 1.1.1.1 nameserver 192.168.8.1
dodatkowe info:
nslookup > server Default server: 8.8.8.8 Address: 8.8.8.8#53 Default server: 1.1.1.1 Address: 1.1.1.1#53 Default server: 8.8.4.4 Address: 8.8.4.4#53
Wpiecie modemu, powoduje zmiane konfigu obydwu plikow i utrate polaczenia.
Zrobilem kawal porzadnej roboty - pomozecie ???
Ostatnio edytowany przez Karoll (2022-06-21 20:10:55)
Offline
Ten /etc/resolv.conf jest dowiązaniem do /run/systemd/resolve/resolv.conf , także one będą mieć zawsze tę samą zawartość.
Ostatnio edytowany przez morfik (2022-06-22 09:23:51)
Offline
Moim zdaniem, problem jest w 2 aspektach:
a/ pliki sa konfigurowane automatycznie
b/ automatyczna konfiguracja z zastosowaniem modemu Huawei - odcina Internet. Bez modemu dziala. Wniosek, modem jest przyczyna klopotu.
Ps. Szukam nie tekstu (bo juz sie naczytalem) ale rysunku/zdjecia/schematu dla procedury DNS. Zeby raz zapamietac i miec zawsze przed oczami.
W Google widzialem kilka poprawnych ale mi nie trafia.
Ostatnio edytowany przez Karoll (2022-06-22 11:58:04)
Offline
Strony: 1