Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DNS forwarder override IP for a single internal host

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O Offline
      obstler
      last edited by

      Can the DNS forwarder be used to override the DNS reply when the request comes from a specific host?

      I understand the concept of the host overrides (and use them), but maybe there's a way to do this using the advanced options?

      What I want to do is the following:

      when the (internal) host 10.0.0.77 asks the DNS forwarder for the IP of bla.example.com it should reply with an IP defined in the DNS forwarder – but all other hosts asking for that dns name should not be overriden (and forwarded to the normal DNS servers specified).

      Can this be done with some advanced dnsmasq magic? ;)

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.