I ran into this error on a different (CentOS 6 x86_64) system. Simply executing "nslookup" would return the error "nslookup: parse of /etc/resolv.conf failed". Upon close inspection of the contents nothing was out of order. Permissions and ownership also looked good and I was executing nslookup as root. It was then I noticed lsattr /etc/resolv.conf was showing the "e" flag set.
The customer had copied resolv.conf over from a different server (also ext4 formatted). I believe it may be that this attribute was set on the previous filesystem, and when moved to the new ext4 file system the extent mappings were incorrect, which caused the read/parse problem. Since you can't remove the attribute with chattr I was able to resolve the issue by simply copying the contents, deleting the old /etc/resolv.conf, creating a new /etc/resolv.conf, then pasting in the contents from clipboard and saving. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/291161 Title: Invalid multi values domain string generated by network manager Status in NetworkManager: Unknown Status in “bind9” package in Ubuntu: Invalid Status in “network-manager” package in Ubuntu: Invalid Status in “network-manager-applet” package in Ubuntu: Invalid Bug description: I am getting the following error using nslookup: nslookup: parse of /etc/resolv.conf failed The file was not edited manually, it was generated by NM and the AT&T VPN Client. I have changed the IPs/Domains for privacy reasons, /etc/resolv.conf: #@NETVPN_GENERATED@ -- this file is generated by NetVPN # and will be overwritten by NetVPN # as long as the above mark is intact nameserver 127.0.0.1 nameserver 127.0.0.1 # Generated by NetworkManager domain local.domain.com br.somewhere.com somewhere.com search local.domain.com nameserver 127.0.0.1 nameserver 127.0.0.1 nameserver 127.0.0.1 To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/291161/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

