View Single Post
  #7  
Old 30th March 2013, 00:13
pititis pititis is offline
Senior Member
 
Join Date: Dec 2010
Location: München
Posts: 364
Thanks: 39
Thanked 90 Times in 68 Posts
Default

Quote:
echo "nameserver 8.8.8.8" >TEST
To add this nameserver:
Quote:
cat TEST | resolvconf -a eth0
To delete this nameserver:
Quote:
cat TEST | resolvconf -d eth0
eth0 = interface

Try it.
Reply With Quote