Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
What entry should be in /etc/resolv.config
« previous
next »
Print
Pages: [
1
]
Author
Topic: What entry should be in /etc/resolv.config (Read 1130 times)
meazz1
Jr. Member
Posts: 90
Karma: 1
What entry should be in /etc/resolv.config
«
on:
July 27, 2020, 03:08:09 am »
I have a lan network which is used by my middle schooler so I use PiHole with OpenDNS family shield.
The VLAN is used by my daughter for her home office and I don't want any DNS filter blocking her from accessing work related stuff, so I have google DNS setup in the VLAN she connects.
Here's the setup;
LAN 192.168.4.0/24 Dhcp service DNS 192.168.4.2 (PiHole)
VLAN 10.0.8.0/24 Dhcp service DNS 8.8.8.8
System --> settings --> general --> DNS server "none"
What shoud be in /etc/resolv.config
nameserver 127.0.0.1
or
nameserver 8.8.8.8
or
nameserver 192.168.4.2
or wharever
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
What entry should be in /etc/resolv.config