Advertisement
Guest User

Untitled

a guest
May 7th, 2014
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. I'm finding that my VPS (linodes) DNS servers are really slowing my website (phpbb) down when users are posting. I found this by watching the php-fpm pid with strace.
  2.  
  3. So i have replaced the linode name servers with google's nameservers by editing
  4. /etc/dhcp/dhclient.conf
  5. and adding
  6. prepend domain-name-servers 8.8.8.8, 8.8.4.4;
  7.  
  8. and then restarting network services:
  9. service networking restart
  10.  
  11. But for some reason the linode one is still there:
  12. adrian@wasp:/var/www$ cat /etc/resolv.conf
  13. # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  14. # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  15. nameserver 8.8.8.8
  16. nameserver 8.8.4.4
  17. nameserver 74.207.241.5
  18. search members.linode.com
  19.  
  20. How do i get rid of it completely so i can just use google?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement