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

[feature request]: Allow corefile customization. Specifically for adding a response header for recursive dns. #3012

Open
1 task done
cocoonkid opened this issue Jul 23, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cocoonkid
Copy link

Contact Details

No response

What happened?

[feature request]: Allow corefile customization. Specifically for adding a response header for recursive dns.

This will avoid issues because nslookup will otherwise complain and not correctly resolve.

example:


❯ nslookup vps.netmaker_network
;; Got recursion not available from 10.254.66.29, trying next server
Server:		1.1.1.1
Address:	1.1.1.1#53

** server can't find  vps.netmaker_network: NXDOMAIN



❯ nslookup  vps.netmaker_network
Server:		10.254.66.29
Address:	10.254.66.29#53

Name:	 vps.netmaker_network
Address: 10.254.66.28



default Corefile:

. {
    reload 15s
    hosts /root/dnsconfig/netmaker.hosts {
    fallthrough
    }
    forward . 8.8.8.8 8.8.4.4
    log
}

expected Corefile:

. {
    reload 15s
    hosts /root/dnsconfig/netmaker.hosts {
    fallthrough
    }
    forward . 8.8.8.8 8.8.4.4
    log
    header {
       response set ra # set RecursionAvailable flag
    }
}

Version

v0.24.3

What OS are you using?

Linux

Relevant log output

No response

Contributing guidelines

  • Yes, I did.
@cocoonkid cocoonkid added the bug Something isn't working label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants