PPPD senaryosu
Kullanmak pponve ppoffmuhtemelen kullandığınız anlamına gelir pppd. Bu durumda ponkomut dosyasını yürütür /etc/ppp/ppp_on_boot. Bir bağımsız değişken sağlamazsanız pon, ayarları yükler /etc/ppp/peers/provider. Eğer bir argüman sağlarsanız, örneğin pon interwebzarayacağını söyleyecektir /etc/ppp/peers/interwebz. Ayrıca /etc/ppp/optionskontrol etmek için var.
Bu dosyanın ayarı içerdiğini düşünürdüm usepeerdns. Pppd man sayfasından:
usepeerdns
Ask the peer for up to 2 DNS server addresses. The addresses supplied by the peer
(if any) are passed to the /etc/ppp/ip-up script in the environment variables
DNS1 and DNS2, and the environment variable USEPEERDNS will be set to 1. In
addition, pppd will create an /etc/ppp/resolv.conf file containing one or two
nameserver lines with the address(es) supplied by the peer.
Bu seçeneği, durdurma dışında açıklama pppdile poffdüzenleyin, resolv.confve sonra yeniden pppdbirlikte ponve bu giderir eğer sorunu bakın.
eth0 senario
Arayüz ayarları dosyanızı ( /etc/sysconfig/network-scripts/ifcfg-eth0eth0 için) düzenlerseniz, ağ yöneticisinin hangi ayarları kullandığını görebilirsiniz.
Bu arabirimde çalışan BOOTPROTO=yesDHCP'niz varsa, DNS ayarlarınızı geçersiz kılmamasını söyleyebilirsiniz PEERDNS=no. Statik bir adres kullanıyorsanız, DNS ayarlarınızı
DNS1="8.8.4.4"
DNS2="8.8.8.8"
SEARCH="yourdomain.com"
network-scriptsde