-
Notifications
You must be signed in to change notification settings - Fork 50
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
huge log file in tmp/dns/daemon/vagrant-dns.output
#83
Comments
What does your config look like? Seems like all(?) queries end up at vagrant-dns? |
Wow, you're fast! config.dns.tld = 'test'
config.dns.patterns = [/^(\w+\.)*local\.test$/] |
Weird. What does your /etc/resolvd/* point to. And does your internet still work, when you kill all vagrant-dns? |
I don't have a This means that the log is generally expected grow indefinitely as long as the process is running, right? |
Well, AFAIR we don’t clean up the log file. Maybe we should. |
(Closed by accident on my phone) |
Why does it log non-matching routes anyway? 🤔 Maybe it's just the check missing whether it matches the rule? |
First of all, queries to atlas’s other than specified shouldn’t end up on the server in the first place. To me, it looks like the systemd configuration vagrant-dns generates might be faulty. |
There are at least two issues:
eventually crashing:
|
@alexanderadam As a quick work-around, set |
@mattiasb Do you have any idea why systemd/resolved directs queries not matching our configured domain to vagrant-dns? |
I don't from the top of my head. I don't use vagrant-dns currently, however I still would like to get to the bottom of this. I might have some time to look at this on Sunday if no one beats me to it. Please poke me if I seem to forget! |
Thanks a lot! |
Regarding logging: The server doesn't log by itself. It uses the logging feature of The other, more obvious solution would be to do logging manually e.g. via However, using Daemons logging has the benefit of capturing exception traces. |
Regarding Passthrough: It was build in as a default, so that, when you happen to register a route-able (aka public) TLD like Maybe it's time to disable passthrough by default and maybe print a warning if a public TLD is registered. |
I just realised that I had a log file with a size of 229.8 GB at
tmp/dns/daemon/vagrant-dns.output
Its content looked like this:
It grows super-fast too.
Any idea what could be wrong? 🤔
It seems to come from here.
The text was updated successfully, but these errors were encountered: