DNS forwarder override IP for a single internal host

  • 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 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? ;)

Log in to reply