Jump to content
Not connected, Your IP: 3.16.82.208
mustbetrue

Using different DNS servers on pfSense when following guide

Recommended Posts

Hi fellow Airvpn'ers, First I would like to thank pfSense_fan for the great guide and Airvpn for their mission and superb service! and ofcourse the community for their help! I have followed the 2.3 guide of pfSense_fan.

 

When following the guide exactly everything works perfectly, but I am having a problem when trying to do things slight differently. The thing is that I have different interfaces for different purposes. For the other interfaces I wish to use different DNS servers. When following the guide it works, but when I adjust the DNS NAT rule to use those different DNS servers I am not having internet at all.

 

I have tried to add the DNS servers through the DHCP servers menu and add it through there. I also created a alias with the DNS servers. I changed the NAT rule to use the alias with their respective DNS servers as target IP instead of the pfSense IP. I have been trying and trying, but the internet goes down when changing the NAT rule for DNS. I can reach the firewall through its IP.

 

So my question is how I can use different DNS servers while following the guide of pfSense_fan? Can some of you share their expertise with me and perhaps tell me what I am doing wrong here? Thanks!

Share this post


Link to post

By DNS NAT rule I assume that's the port forwarding rule that redirects all DNS requests to the pfsense resolver (usually 192.168.1.1)? 

 

If that's what you're talking about, don't change that.

 

to change DNS go to system ->general setup.  Input the DNS you want, make sure gateway selections are all "none" for the DNS.

 

Assuming your other settings are still good this should work.

Share this post


Link to post

Thank you for your reply go558a83nk.

 

Yes I was talking about the port forwarding rule. If I put the DNS servers in general setup then all interfaces will be using them. I am using unbound in forwarding mode with Airs DNS server in general setup.

 

Lets say I wish to use my ISP's DNS on LAN interface which is clearnet. I should be able to use those DNS servers with the same rules right. If I would put those DNS servers in DHCP server/LAN interface and change the NAT port forwarding rule to use the ISP DNS as target IP. This was what I was thinking in the first place, but when I am trying to do that, I am having no internet at all, but am still able to reach pfsense through its ip.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...