OpenSUSE Network :: Extraneous Nameserver Entries In Resolv.conf?
Mar 4, 2011
This continues a thread started in the applications forum:mc hangs temporarily when network is downmc (Midnight Commander) hangs on my desktop but not on my laptop. When I compared desktop and laptop configurations, I found the following differences:
/etc/hosts files:
Code:
Laptop: 127.0.0.2 linux-4xt8.site, linux-4xt8
[code]....
View 9 Replies
ADVERTISEMENT
Sep 1, 2010
As I understand it, /etc/resolv.conf is rewritten at boot time by NetworkManager (a script?)I have a problem in the order the nameserver entries are written by my system (F13). This is:
Code:
nameserver 192.168.1.1
nameserver xxx.233.0.4
[code]....
View 11 Replies
View Related
Dec 7, 2010
I'm trying to query the second nameserver on a local network to resolve local domain names to IP's.
Code:
$ ping ids.mydomain.loc
ping: unknown host mydomain.loc
[code]....
View 6 Replies
View Related
Mar 22, 2009
I just installed F10 from a Live download iso on a Sony VAIO laptop with an Intel PRO/Wireless LAN2100 3B Mini PCI Adapter. The linux driver is ipw2100 and functions without problems.
After the install I accepted the update downloads offer and downloaded somewhere around 170 updates. The kernel version is 2.6.27.19-170.2.35.fc10.i686.
I am using a Linksys WRT55AG as a DHCP server. Using NetworkManger it assigns IP addresses without incident.
My problem is that I can't get name resolution to function without manual intervention.
I can ping other wireless nodes on my network and the response to $ dig -q www.yahoo.com is: ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 30153
The /etc/resolv.conf file contains no entry for 'nameserver=' and if I manually edit /etc/resolv.conf, it is overwritten on reboot or restarting the NetworkManager service. I am aware of /etc/sysconfig/networking/profiles/default/resolv.conf.
Additionally, in the var/log/messages file I can see that NetworkManager makes links between /etc/resolv.conf and the default version.
However, after either rebooting or restarting the NetworkManager service, if I manually enter a DNS address 192.168.1.1 (my wireless router) under the DNS tab of the system-config-network 1.5.95 application. This address does not persist after either rebooting or restarting NetworkManager.
If I disable NetworkManager, I can't get the WRT55AG to assign the wilreless adapter an IP address.
So the bottom line and my question is what do I need to do in order to simply boot and have wireless connectivity?
To what file does system-config-network 1.5.95 write the DNS address entered from it's GUI?
View 6 Replies
View Related
Oct 21, 2009
I'm having some trouble with my networkmanager on openSuse 11.2. I want it to get the DNS Server from DHCP, but it notices that I had another process modify it (dhcpcd to be exact) and it just won't overwrite it, resulting in an out of date DNS server to be used.
View 2 Replies
View Related
Apr 20, 2011
In previous openSUSE versions I was using WICD as network manager. I upgraded my openSUSE to 11.4 and resolved give a try to the NetworkManager. I can get network connection, but the dhcp doesn't update the /etc/resolv.conf, so I can't navigate because the dns isnt set.
I tried to reinstall all related packages (dhcp, dns and networkmanager) without success.
If I run dhcpcd the resolv.conf get updated, but dhclient doesn't do the same. It seems that's a dhclient script issues, but I don't know how to test.
View 9 Replies
View Related
Sep 2, 2011
I have been trying to follow this guide for dnssec http://wiki.debian.org/DNSSEC in which at the very last it gives that you should change the value in /etc/resolv.conf to 127.0.0.1 Now in mine, network-manager overwrites the values. Is there a way to stop network-manager from overwriting the values in /etc/resolv.conf ?seems the simplest is to write-protect it. chattr +i /etc/resolv.conf
View 8 Replies
View Related
May 7, 2010
The local DNS server is slow, so I added the openDNS servers to /etc/dhcp3/dhclient.conf. But Network manager keeps appending the local DNS server to resolv.conf. I need to pick up a DHCP address but how to stop it changing DNS servers?
View 2 Replies
View Related
Dec 10, 2010
My ethernet controller is configured as such:
My /etc/resolv.conf file is normally just set up to use Google's public DNS:
When I connect to the network at the university library, it totally overwrites my /etc/resolv.conf file to something like:
This is pretty annoying, so I tried comprimising by making a file with the school's domain and search entries plus the Google nameservers, then revoking write permission on the file. However, I couldn't access any domain name with this config on their network, so I reverted to using their nameservers. I keep all the school's entries commented out when I connect to my home network.
My ultimate question is what is actually overwriting the file? I suspect that my connecting through DHCP is responsible. Whatever it is, I'm pretty annoyed that no back up file was created.
View 10 Replies
View Related
Dec 14, 2009
I use my laptop both at home and at my job. At home it gives me the correct search line.
But when I am at the office I only get 1 search entry while if you boot in windows it gives you 3
(for example):
So this should be in /etc/resolv.conf search domain domain.com my.domain.com
It seems that this is not passed by the (Windows) dhcp server (Active Directory).
Is there any way that linux can detect depending on the network it is in that there are a few search domains added(for example like resolvconf does with ppp tunnels)?
View 4 Replies
View Related
Aug 15, 2010
How can I have /etc/resolv.conf point to my router address as the nameserver nameserver 192.168.1.1
instead of picking up the ISP's DNS servers and using that as the nameserver entries? Reason being I have more than one ISP account, and when I change I do not want to have to remember to restart the networking service. because i often forget.
View 4 Replies
View Related
May 7, 2011
i've just setup a vps server with 11.4 everything is almost look fine now, but i couldn't setup a nameserver, i've searched on the internet about that but directories is different in suse. anyway i registered a domain on onlinenic yesterday and i want to use this domain as a nameserver and my hostname. how can i do that ? and do i need to have at least 2 ip for that ?
View 7 Replies
View Related
Jun 20, 2011
I use red hat Es 5.5 64 bit.. I find the item nameserver in resolv.conf cannnot be saved. Everytime ,reboot or restart the netwrok service . The data in resolv.conf will be removed and clear . I need to edit it again . I also try to add DNS1=XX.XX.XX.Xx in ifcfg-eth2 but the same problem. in it , the resolv.conf is still need to edit every network service restart . So, how to save the resolve.conf about nameserver forever ??
[root@vls etc]# cat resolv.conf
# Generated by NetworkManager
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
[Code]...
View 9 Replies
View Related
Jun 18, 2010
My Debian workstation is on a predominantly Windows network. It is resolving internet addresses (i.e. www.google.com, etc) just fine. However it's not resolving any of the address of machines on the local network and the windows machines do not resolve the linux machines address either. All machines (linux and windows) can access each other just fine via direct IP reference.
My /etc/resolv.conf file has the following IP addresses listed:
127.0.0.1
10.1.1.111
10.1.3.4
10.1.1.111 is a netgear VPN/router that is the primary router for the LAN and maintains a VPN to a remote office 10.1.3.4 is the IP address of the Windows Primary Domain control on which the DNS server is running. That server is at the remote office. The system acts like it is completely ignoring anything I put in the resolv.conf file. From the linux X server I'm using "Network Setting" utility to make changes to the network configuration. This appears to work fine for things like switch between DHCP and static IP.
View 5 Replies
View Related
Nov 1, 2010
I use Fedora 13 (minimal installation), ISC DHCP server 4.1.1-P1. I'm running Fedora 13 too on a separate machine (minimal installation) with ISC DHCPclient 4.1.1-P1. My goal is to do some IPv6 testing. When I use the DHCP client manually (dhclient -6 -timeout 5 -d -v eth0), the client retrieves and installs a dynamically assigned IPv6 address.
Additionally, the client gets 1 DNS resolver address and 1 DNS search list. The resolver address and DNS search list always get written into /etc/resolv.conf. Perfect, exactly what I need. But when I do a "service network restart" or restart my system (which should trigger the same, as far as I understood), the DNS resolver addr and the search list get written into /etc/resolv.conf.save and the /etc/resolv.conf stays as before. How can I change this behavior? I don't need the .save file, I just want to have /etc/resolv.conf replaced by the latest DNS information.
View 2 Replies
View Related
May 30, 2011
I'm setting up virtual dev environments and I want the hostname.domain to be something specific, eg- "barney.local". However my /etc/resolv.conf file keeps getting nuked because i'm using DHCP. I placed this into my dhclient.conf:
supersede domain-name "localhost"
supersede host-name "barney"
but it didn't help. I'm not sure where I'm going wrong. How can I still use DHCP but configure that virtual environment to see itself as barney.local?
View 2 Replies
View Related
Apr 22, 2010
How can I keep /etc/resolv.conf static ... as in preventing it from being changed by the network manager ... without actually disabling the network manager (so wireless users can get their wireless setup that includes IP address, but leave the resolver configuration as is)?
View 1 Replies
View Related
May 8, 2010
I tried to setup a dyndns, and ever since I tried to get that setup, I can't access my webmin, or access /etc/hosts/resolv.conf. But I can still access my samba shares I had created before this happened.
View 5 Replies
View Related
Aug 26, 2011
I need help figuring out why my resolv.conf keeps changing to this, causing me to not be able to access the outside internet and only the local network.I thought I fixed it by getting rid of the loopback interface and adding in the eth0 interface in /etc/network/interfaces URl...And then things would work temporarily, and eventually the nameserver in resolv.conf would get reverted again.
View 1 Replies
View Related
Mar 4, 2010
I am using kubuntu 9.10 64-bit on AMD M500 machine i removed networkmanager (because i had frequent disconnect) and installed wicd but the /etc/resolv.conf had a comment on top which says that it is to be configured by networkmanager (still) I put the DNS in there manually and it works What to put in there so that it uses DHCP ? Maybe its set to be not written by anyone other than networkmanager ??
View 1 Replies
View Related
May 11, 2009
As you may well be aware the resolv.conf search appears to be limited to 6 domains. I need 7 One thing I noticed is that if you run nslookup on a short name that is in the 7th search it does work but ssh does not. I'm guessing that nslookup is actually reading the whole file and isn't limited.
View 7 Replies
View Related
Jul 1, 2010
When I boot my computer (Ubuntu 9.10) /etc/resolv.conf is written as:# Generated by Connection Managernameserver 10.33.8.11 10.33.4.136However, if I try to do anything from the command line, I get an error like:host: parse of /etc/resolv.conf failedI then need to edit /etc/resolv.conf to:
# Generated by Connection Manager
nameserver 10.33.8.11
nameserver 10.33.4.136
[code]....
View 2 Replies
View Related
Jan 10, 2011
I am having a situation where I do not have DNS server (the person who has that is not me) for a few websites which are running on a reverse proxy. I recently after having a long trouble shooting hours found that my proxy pass entries look as follows
Code:
ProxyPass /app1 http://192.168.1.3:8080/app1
ProxyPass / http://192.168.1.3
ProxyPassReverse /app1 http://192.168.1.3:8080/app1
ProxyPassReverse / http://192.168.1.3
If I use the entries as above then some one from internet is able to access the sites.But from within LAN people are unable to access it.
How ever if I use
Code:
ProxyPass /app1 http://site1.myserver.com:8080/app1
ProxyPass / http://site1.myserver.com
ProxyPassReverse /app1 http://site1.myserver.com:8080/app1
ProxyPassReverse / http://site1.myserver.com
then things work on LAN but from internet it is not accessible.What can be a solution in this case will putting things in resolv.conf do?
View 7 Replies
View Related
Jan 21, 2011
Following some advice here elsewhere about changing a login screen which actually declared that extra KDE stuff did not get installed when installing KDM I found exactly the opposite to be the case when I tried! installed KDM via the yast installer which seemed to be a small 4MB install. However lots and lots of other KDE stuff DID get installed alongside it. 187 MB in fact! 187 MB that's 183 MB I never asked to be installed!
The bad thing is that removing KDM and the KDEBase package does not remove all these components which are now firmly embedded in the system including Oxygen Firefox theme and all sorts of other KDE branding. Could anyone advise how short of reinstalling 11.3 from scratch I can get rid of all this guff the KDM install has introduced into the system by apparently exploiting some bug or other in the installer.... Uninstalling KDM and KDEBase has only uninstalled the 4MB I thought I had chosen. The other 183 MB it glued to my system seems to be invisible to the Yast installer although there are many lines in the history file /var/log/zypp
View 1 Replies
View Related
May 28, 2010
On my computer (running debian lenny), the network is configured this way (this is a minimal example):/etc/resolv.conf:search bar
View 1 Replies
View Related
Dec 30, 2010
I "fixed" my Lenny home server bind9 configuration because my resolv.conf was always overwritten loosing configuration. The fix involved adding the following to /etc/resolvconf.resolv.conf.d.base.
##base file at /etc/resolveconf/resolveconf.d/base
nameserver 127.0.0.1
nameserver 192.168.1.4
[code]....
View 1 Replies
View Related
Jun 4, 2010
I'm trying to set this open-nic-dns (69.164.208.50) as default (instead of 192.168.2.1 - router-ip). So if I try to edit /etc/resolv.conf to this nameserver - but if i restart it's 192.168.2.1 again.
View 3 Replies
View Related
Jan 4, 2010
I'm having problems with my resolv.conf file. Every time I reboot my computer it goes blank and I have to re-type it before I can get on the network. How do I prevent it from being overwritten?
View 6 Replies
View Related
Feb 4, 2010
I am using KVPNC (recommended by the VPN owner) on Ubuntu 9.10 using my Universities direct Ethernet connection.
I have downloaded all the .ovpn scripts to a directory. I have downloaded KVPNC from the repository (apparently for 9.10 you do not download from the KVPNC website).
I then use sudo kvpnc and select a server (since there are many based on the .ovpn files).I click connect and the script works and tells me I have a connection. See below for an example. All appears to work.
But when I actually load any Internet program e.g. Firefox it cannot find a website.This happens for all servers which have different locations around the world.When I disconnect KVPNC I still have no access. I have to remove the Ethernet cable before it works again.
debug: Connect try requested, profile: Stockholm, type: OpenVPN
debug: openvpn: /usr/sbin/openvpn
debug: Support for TUN/TAP found (compiled into kernel or kernel module already loaded).
debug: Default interface: "eth0".
debug: IP address of default interface: "my IP address".
code....
I realise there are errors e.g. the /etc/resolv.conf must be a symlink but have tried doing this and still have exactly the same issues.
View 2 Replies
View Related
Mar 9, 2010
I'm using 9.10 Ubuntu Karmic 64-bit (but same thing happens on my 32 bit VM on same PC).
My /etc/resolf/conf file is not updated with DNS information on first boot. The DNS information is in the /etc/network/interfaces file.
The trick I have to do every time I reboot the PC is:
Code:
sudo ifdown eth0 && sudo ifup eth0
First off, why? Second how can I resolve this issue?
I have three NICs eth0 and 1 are normal LANs connected to the internet, but I choose eth0 as the primary. eth2 is a local private one. the DNS information from eth0 should be in the resolv.conf file but isn't. The file is empty at bootup, except for some comments instructing me not to edit this. After running the above sudo commands the file is properly updated and internet works.
Here's my /etc/network/interfaces file's contents:
Code:
auto lo
iface lo inet loopback
auto eth0
#iface eth0 inet dhcp
[Code]...
View 3 Replies
View Related