SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ```
  2. $ ssh username@192.168.0.1
  3. $ sudo vi /etc/dnsmasq.d/dnsmasq.static.conf
  4. ```
  5.  
  6. Put there some hostnames <-> ip mappings:
  7.  
  8. ```
  9. address=/some.domain/192.168.0.123
  10. address=/some.other.domain/167.112.237.24
  11. ```
  12.  
  13. Save it the reload dnsmasq:
  14.  
  15. ```
  16. $ sudo /etc/init.d/dnsmasq force-reload
  17. ```
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top