[opensuse] nameserver question
Hello: I have openSUSE 12.1 with configured ADSL/PPPoE connection. This connection usually works correctly but today I am experiencing longer delays during web browsing. I checked the connection by looking at kinternet's 'check connection' option and found that the nameserver is changing between two status: it says "name server waiting for reply" or "name server ok. name server address: x.x.x.x. What can cause this? Is it at the provider's side or on my system? Second, what command (in konsole) could show me the actual name server settings, the current values? And, finally, is it possible to add static nameservers, possibly more, from which the system can choose a working one if the default setting fails? I know that I can insert name server addresses in YAST/network settings/ hostname/DNS, but I don't know what is the effect is I put a nameserver address there. And there are only three lines there, how could I add more then 3 additional nameservers? Thanks in advance, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/02/2012 11:20 PM, Istvan Gabor wrote:
what command (in konsole) could show me the actual name server settings, the current values?
- maybe : # cat /etc/resolv.conf ..................... best regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Friday 02 Nov 2012 23:24:39 ellanios82 wrote:
On 11/02/2012 11:20 PM, Istvan Gabor wrote:
what command (in konsole) could show me the actual name server settings, the current values?
______________________
Don't know if you've found the answer to your question but perhaps you could use "less" and take a look at the files in /var/lib/named/master Hope that helps Eddie -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2012-11-02 22:20 (GMT+0100) Istvan Gabor composed:
is it possible to add static nameservers, possibly more, from which the system can choose a working one if the default setting fails? I know that I can insert name server addresses in YAST/network settings/ hostname/DNS, but I don't know what is the effect is I put a nameserver address there. And there are only three lines there, how could I add more then 3 additional nameservers?
https://developers.google.com/speed/public-dns/ My resolv.conf has 6 IPV4 entries, all via manual editing. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/02/2012 10:20 PM, Istvan Gabor wrote:
Hello:
I have openSUSE 12.1 with configured ADSL/PPPoE connection. This connection usually works correctly but today I am experiencing longer delays during web browsing. I checked the connection by looking at kinternet's 'check connection' option and found that the nameserver is changing between two status: it says "name server waiting for reply" or "name server ok. name server address: x.x.x.x.
install dnsmasq, and configure it for caching, here is what "zypper if dnsmasq" is showing : "Dnsmasq is a lightweight, easy-to-configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network. It can serve the names of local machines that are not in the global DNS. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in DNS with names configured either in each host or in a central configuration file. Dnsmasq supports static and dynamic DHCP leases and BOOTP for network booting of diskless machines." only three lines there, how could I add more then
3 additional nameservers?
you can add as many nameservers you want for example here is the relevant part from the /etc/dnsmasq.conf which is by the way very informative # Change this line if you want dns to get its upstream servers from # somewhere other that /etc/resolv.conf resolv-file=/etc/resolv-upstream.conf of course you would have to create the /etc/resolv-upstream.conf yourself, which is identical in format to /etc/resolv.conf HTH Togan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
2012. november 2. 23:14 napon Togan Muftuoglu <toganm@opensuse.org> írta: [snip] Thank you all for suggestions. /etc/resolv.conf says I should not modify the file directly. I decided to add name servers to /etc/sysconfig/network/config file to NETCONFIG_DNS_STATIC_SERVERS=. as /etc/resolv conf reflects the values here plus dynamically obtained values. I added the name server addresses but I don't know how to restart network without rebooting. (See my knew thread.) Togan, I have installed dnsmasq but did not have to time to configure it and lool into it. Thanks again, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
eddie
-
ellanios82
-
Felix Miata
-
Istvan Gabor
-
Togan Muftuoglu