Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Ability to add custom lines to dnsmasq in Minirouter #1446

Open
mkunz7 opened this issue Feb 17, 2021 · 1 comment
Open

Enhancement: Ability to add custom lines to dnsmasq in Minirouter #1446

mkunz7 opened this issue Feb 17, 2021 · 1 comment

Comments

@mkunz7
Copy link
Contributor

mkunz7 commented Feb 17, 2021

It would be nice if I could add lines to minimega dnsmasq configs

For example to redirect *.test.com to 1.0.0.1 and *.test2.com to 2.0.0.1 I add this to /etc/dnsmasq.conf:

address=/test.com/1.0.0.1;address=/test2.com/2.0.0.1
@mkunz7
Copy link
Contributor Author

mkunz7 commented Mar 1, 2021

There have been quite a few use cases this has come into play and as a workaround I've been using miniccc to add the lines and restart the service.

Namely:

Redirecting certain domains to specific dns servers

server=/test.com/3.0.0.1
server=/test2.com/4.0.0.1

Adding cname records

domain=test.com
cname=www.test.com,test.com

Maybe something like router r0 dnsmasq-append server=/test.com/3.0.0.1;server=/test2.com/4.0.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant