How to force a rebuild of resolv.conf

view story

http://askubuntu.com – Sorry I researched (googling) for about 45 minutes, tried everything I could think of (see below) but didn't find the answer. After updating /etc/networking/interfaces with something very similar to below, I could not get /etc/resolv.conf to update. I tried (as root) resolver -u, service networking restart but they didn't work. I also fixed the symlink for resolv.conf and tried resolver -u again. Finally in frustration I rebooted, which did fix the problem by rebuilding /etc/resolv.conf. Ubuntu 12.04, 64bit server, all the latest patches installed. Please let me know the correct way. Ma (HowTos)