PDA

View Full Version : DNS doesn't work - customized Ubuntu 14.04



plinc
June 14th, 2014, 01:42 AM
I've made a Ubuntu 14.04 VM, customized it a bit (apps, etc), and created an .iso via REMASTERSYS. I then made a bootable USB w/ unetbootin.


The DNS works on the VM and on multiple laptops in the house but the bootable USB fails to resolve URLs. The bootable USB does successfully connect to the internet and can ping IPs.


I've searched and tried editing the /etc/resolvconf/resolv.conf.d/head and base files, I've tried adding google DNS (8.8.8.8) in the network manager, nothing works. (It's worth noting I make these changes on the VM, reboot, then create the .iso again and make it bootable).

Any help would be greatly appreciated. Thanks!

SeijiSensei
June 14th, 2014, 05:05 PM
Usually just adding

nameserver 8.8.8.8
to /etc/resolvconf/resolv.conf.d/head has worked for me. Is that what you used as well?

plinc
June 14th, 2014, 07:14 PM
I did this, but when I created the .iso and then made it bootable DNS did not work =/
Any other thoughts?

SeijiSensei
June 16th, 2014, 02:13 AM
If you mount the ISO (http://www.cyberciti.biz/tips/how-to-mount-iso-image-under-linux.html) and examine the contents of /etc/resolvconf, are your changes preserved?



sudo mkdir /mnt/iso
sudo mount -o loop /path/to/image.iso /mnt/iso
sudo ls -lR /mnt/iso/path/to/etc/resolvconf