"TRC DNS configuration loaded" logs always printed to STDOUT #567

Closed
opened 2025-12-29 02:20:29 +01:00 by adam · 4 comments
Owner

Originally created by @lgrn on GitHub (Oct 16, 2023).

Bug description

After upgrading to v0.23.0-alpha1, I'm noticing this log is printed after every headscale command:

# headscale nodes list
2023-10-16T12:09:45Z TRC DNS configuration loaded dns_config={"ExitNodeFilteredSet":null,"ExtraRecords":[{"Name":"
(...)

After a few seconds this is then followed by the commands expected output. This looks like it was added last month here by @kradalby -- I guess my question is whether this is expected behavior (for example due to misconfiguration on my part) or a bug.

  • Headscale is behind a (reverse) proxy
  • Headscale runs in a container

To Reproduce

Run any headscale command on v0.23.0-alpha1

Originally created by @lgrn on GitHub (Oct 16, 2023). ## Bug description After upgrading to v0.23.0-alpha1, I'm noticing this log is printed after every headscale command: ``` # headscale nodes list 2023-10-16T12:09:45Z TRC DNS configuration loaded dns_config={"ExitNodeFilteredSet":null,"ExtraRecords":[{"Name":" (...) ``` After a few seconds this is then followed by the commands expected output. This looks like it was [added last month here](https://github.com/juanfont/headscale/blame/fb4ed95ff63b96249bef5c8070daac07f0e52016/hscontrol/types/config.go#L483) by @kradalby -- I guess my question is whether this is expected behavior (for example due to misconfiguration on my part) or a bug. - [ ] Headscale is behind a (reverse) proxy - [ ] Headscale runs in a container ## To Reproduce Run any `headscale` command on v0.23.0-alpha1
adam added the stalebug labels 2025-12-29 02:20:29 +01:00
adam closed this issue 2025-12-29 02:20:29 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 15, 2024):

This issue is stale because it has been open for 90 days with no activity.

@github-actions[bot] commented on GitHub (Jan 15, 2024): This issue is stale because it has been open for 90 days with no activity.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 22, 2024):

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions[bot] commented on GitHub (Jan 22, 2024): This issue was closed because it has been inactive for 14 days since being marked as stale.
Author
Owner

@mskram commented on GitHub (Feb 22, 2024):

I have this issue in 0.23.0-alpha5 after upgrading from 0.22.3.

My dns_config section looks similar to the example.

In my case the text printed is:

TRC DNS configuration loaded dns_config={"Nameservers":["1.1.1.1"],"Proxied":true,"Resolvers":[{"Addr":"1.1.1.1"}]}
@mskram commented on GitHub (Feb 22, 2024): I have this issue in 0.23.0-alpha5 after upgrading from 0.22.3. My dns_config section looks similar to the example. In my case the text printed is: ``` TRC DNS configuration loaded dns_config={"Nameservers":["1.1.1.1"],"Proxied":true,"Resolvers":[{"Addr":"1.1.1.1"}]} ```
Author
Owner

@SuperSandro2000 commented on GitHub (May 14, 2024):

Please see #1939 for a fix

@SuperSandro2000 commented on GitHub (May 14, 2024): Please see #1939 for a fix
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#567