SOLVED Custom DNS Server in local network
necrevistonnezr last edited by girish
I have created
server: private-domain: "cloudron.lan" domain-insecure: "cloudron.lan" forward-zone: name: "cloudron.lan" forward-addr: 192.168.1.20
cloudron.lanjust an example?)
Note that my local router is pointed to the same DNS server.
@necrevistonnezr If I understand correctly, you want to make Cloudron use the pi to resolve all the DNS queries?
The configuration listed in the docs is meant to tell unbound that any queries for
cloudron.lan(this is just the name of your internal network, so just an example used in the config) should go to
192.168.1.20(the internal DNS server). So, it won't make all the queries go to the PI, just
I haven't tried it but as per https://wiki.alpinelinux.org/wiki/Setting_up_unbound_DNS_server , if you put the below it will forward everything:
forward-zone: name: "." forward-addr: <your pi ip>
This post is deleted!
necrevistonnezr last edited by
@girish Thanks, just adding that to custom.conf worked!