Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```
- $ ssh username@192.168.0.1
- $ sudo vi /etc/dnsmasq.d/dnsmasq.static.conf
- ```
- Put there some hostnames <-> ip mappings:
- ```
- address=/some.domain/192.168.0.123
- address=/some.other.domain/167.112.237.24
- ```
- Save it the reload dnsmasq:
- ```
- $ sudo /etc/init.d/dnsmasq force-reload
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement