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

    Need help with DNS Forward

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 2.3k 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.
    • B
      boast
      last edited by

      So I have pfsense setup, and my DNS server is running debian etch with bind9. I guess I'm doing it wrong, because I can not get DNS to work locally. I put in the correct info in the 'dns forward' page. On bind9, I set the ip of the nat for being another dns server and for forwarding requests. But yet I can not ping anything uses aliases. Here is my named.conf if it helps:

      options {
              pid-file "/var/run/bind/run/named.pid";
              directory "/etc/bind";
              auth-nxdomain no;
              /*
               * If there is a firewall between you and nameservers you want
               * to talk to, you might need to uncomment the query-source
               * directive below.  Previous versions of BIND always asked
               * questions using port 53, but BIND 8.1 uses an unprivileged
               * port by default.
               */
              // query-source address * port 53;
      	forwarders {
      		205.152.144.23;
      		205.152.132.23;
      		10.0.0.1;
      		};
      };
      
      //
      // a caching only nameserver config
      //
      zone "." {
              type hint;
              file "db.root";
      };
      
      zone "0.0.127.in-addr.arpa" {
              type master;
              file "db.local";
      };
      
      zone "0.0.10.in-addr.arpa" {
              type master;
              file "pri.0.0.10.in-addr.arpa";
      };
      
      zone "stuff.com" {
              type master;
              file "pri.stuff.com";
      };
      
      //// MAKE MANUAL ENTRIES BELOW THIS LINE! ////
      
      key rndc-key {
      	algorithm hmac-md5;
      	secret "stuff";
      	};
      controls {
      	inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { rndc-key; };
      	};
      server 10.0.0.1 {
      	};
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.