Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
[SOLVED] edit /etc/hosts for the dhcp entries I want it to serve?
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] edit /etc/hosts for the dhcp entries I want it to serve? (Read 4399 times)
tomtomz
Newbie
Posts: 4
Karma: 1
Great Pyraneese (Double dewclaws improve my typing
[SOLVED] edit /etc/hosts for the dhcp entries I want it to serve?
«
on:
April 25, 2017, 02:29:35 pm »
For dnsmasq, may I edit /etc/hosts for the dhcp entries I want it to serve?
When I did this as root, my entries were lost when something reverted the hosts file back to the original, system-created version. I did this a few times - worried that my 'save file in vi' was fatfingered - concluding that was not what I experienced.
I am very enthusiastic about this product, and I'm reading and learning a lot. Kudos.
«
Last Edit: April 26, 2017, 06:13:24 am by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: edit /etc/hosts for the dhcp entries I want it to serve?
«
Reply #1 on:
April 25, 2017, 02:45:08 pm »
Welcome tomtomz,
You can add host and domain overrides under Services: DNS Forwarder at the bottom of the page so they don't get lost on reconfigure.
Cheers,
Franco
Logged
tomtomz
Newbie
Posts: 4
Karma: 1
Great Pyraneese (Double dewclaws improve my typing
Re: edit /etc/hosts for the dhcp entries I want it to serve?
«
Reply #2 on:
April 26, 2017, 03:38:18 am »
Thanks!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
[SOLVED] edit /etc/hosts for the dhcp entries I want it to serve?