Skip to content

captive-dns.env - Support for additional CIDRs to enable DNS on different subnets #14

@velodromen

Description

@velodromen

Hi,

I just installed your script and I believe it works great (still haven't rebooted the UDM-Pro yet...). The Telegram notification works as well, absolutely awesome!!

That being said, I have 2 dns-servers on different VLAN:s. One is on 10.10.10.0/24 as the one in your example. The other one is located at 192.168.10.0/24.
When trying to add the second one in the example below it throws out an error. Removing the second CIDR range fixes the issue. However I'm then reduced to only one DNS server.

# CIDR range for the Primary and Secondary DNS host(s)
allowedDNS="10.10.10.0/24 192.168.10.0/24"

It would be fantastic if you would be able to implement support for additional CIDR:s. Never the less, many thanks for this great script! 👍

Metadata

Metadata

Assignees

Labels

captive-dnsReference captive-dns.bashenhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions