Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[Enhancement] DNS servers from the console menu
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Enhancement] DNS servers from the console menu (Read 21278 times)
Pulsar
Newbie
Posts: 19
Karma: 6
[Enhancement] DNS servers from the console menu
«
on:
April 11, 2015, 06:18:04 pm »
Would it be possible to specify the DNS servers from the console menu? At worst we can open a shell and edit /etc/resolv.conf.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [Enhancement] DNS servers from the console menu
«
Reply #1 on:
April 12, 2015, 09:18:28 am »
I'm curious why you need the DNS servers in the first place. The GUI is reachable via the IP after setup, where the DNS servers can be configured. Are you trying to mimic a unattended installation or a headless deployment?
This is what we would think is part of our API work so that we can have a remote client or command line utility to serve this purpose. Not sure if it's worth writing a local console utility to rewrite DNS servers, but I'm not against merging the code if it's there.
Logged
Pulsar
Newbie
Posts: 19
Karma: 6
Re: [Enhancement] DNS servers from the console menu
«
Reply #2 on:
April 13, 2015, 12:43:31 am »
Well indeed it was for "I install, I set the DNS then I upgrade" but yes I agree it is a bit unnecessary because I can manually edit /etc/resolv.conf from the shell then run an update after a fresh install. The interest is quite limited in fact...
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [Enhancement] DNS servers from the console menu
«
Reply #3 on:
April 13, 2015, 07:44:00 am »
I am beginning to understand why this is important.... It's a static WAN setup (or no DNS via DHCP) and pkg.opnsense.org needs to be resolved in order to upgrade. We could try to ship with a standard DNS server for such cases, but, OTOH that isn't really good as it would "leak" your queries to the internet by default (most don't care but it makes sense to to assume that's not in the best interest of privacy).
How did you configure the setup? Any particular console menu item? Maybe it's worth asking the user if he wants to enter a DNS server while configuring WAN port?
Thanks for the productive discussion.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[Enhancement] DNS servers from the console menu