How to resolve specific host with different DNS Server?



  • Hello Team,

    I have many DNS server in my firewall.
    I want to resolve for example all *.boyz.de with a different DNS Server than the default pfSense DNS Server.
    My Local network is 192.56.10.0/24 and the Local DNS Server is 192.56.10.1
    By default all the request in my LAN is going to the DNS Server of pfSense 192.56.10.1 which is fine.

    hallo.boyz.de has the ip 10.110.10.10 and can be resolved with the DNS Server 10.110.10.1
    test.boyz.de has the ip 10.110.10.11 and can be resolved with the DNS Server 10.110.10.1

    How can I create a rule so that all the request comes to the domain *.boyz.de should be forwarded to the DNS server 10.110.10.1 instead of the Default 192.56.10.1 ??

    pfSense Version 2.3.2-RELEASE

    Thanks,
    Boyz



  • @Boyz:

    I have many DNS server in my firewall.

    Explain this first.
    You have a DNS server ( 1 !), unbound, the resolver, or the forwarder listening on port 53.
    Impossible to have more then one server (web, DNS, mail, whatever) running on the same server using the default ports.

    I thought for a moment : Ok, let's setup the resolver to LAN (only) - expecting to launch other instances on other LAN (OPTx) interfaces, but, I was been thrown this in the face :
    This system is configured to use the DNS Resolver as its DNS server, so Localhost or All must be selected in Network Interfaces.
    So, this is a no-go.

    Don't says this :
    @Boyz:

    pfSense Version 2.3.2-RELEASE

    It complicates help (support, whatever). No one wants to keep the old bugs, no one wantq to miss the new features.



  • In pfSense i'am using "DNS forwarder" as a DNS Server.
    I have 2 WAN connections for the internet and 1 more WAN Connection from our Server Provider to access their servers and services directly.
    The Server Provider has also their own DNS Server like google 8.8.8.8, their web url's can be resolved only through their DNS Server.
    I created already static routes and firewall rules on Lan interface to reach their IPs.
    Manuell host override does work's fine for example "Host Name Server Provider -> IP Server Provider"
    I want the host override happen automatically for all their Host Names, since there are too many IP's and Host Names.
    I want a simple rule on LAN Interface which tells all request comes to domain *.xyz should use the DNS Server of the Server Provider to resolve the IP's instead of pfSense localhost.

    Cheers



  • really disappointed of the support here…


Log in to reply