Skip to content

Forwarding requests for one domain to an internal nameserver? #459

Answered by 0xERR0R
johanneskastl asked this question in Q&A
Discussion options

You must be logged in to vote

Question: Is it possible to tell blocky to use (a) different nameserver(s) for requests to one domain like example.org?

Yes, it is possible with conditional forwarding. Following example:

upstream:
  default:
    - 1.1.1.1
conditional:
    mapping:
        fritz.box: 192.168.178.1

Query "example.com" will use "1.1.1.1" as upstream DNS server. Query for "fritz.box" or "subdomain.fritz.box" will be forwarded to "192.168.178.1"

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@johanneskastl
Comment options

@0xERR0R
Comment options

Answer selected by johanneskastl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants