The pfSense Store

Author Topic: internal IP external IP  (Read 5055 times)

0 Members and 1 Guest are viewing this topic.

Offline delfo2000

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
internal IP external IP
« on: December 05, 2007, 05:52:42 am »


     Hi,  ;D

 I'm configuring two name server real FQDN ns1.cuill.es and ns2.cuill.es, now my problem is internal and external ip because I have pfsense and nat; I hope there is e good dns man can help me.

The error:

Server: stat-85-88-202-118.pavianetwork.com
Address: 85.88.202.118

Query about cuill.es for record types ANY
Trying cuill.es ...
Query done, 8 answers, authoritative status: no error
cuill.es               600   IN   A   85.88.202.118
cuill.es               600   IN   A   10.1.128.6
cuill.es               600   IN   A   10.1.128.8
cuill.es               600   IN   A   85.88.202.117
cuill.es               3600   IN   NS   ns2.cuill.es
cuill.es               3600   IN   NS   ns1.cuill.es
cuill.es               3600   IN   SOA   ns1.cuill.es hostmaster (
         674   ;serial (version)
         900   ;refresh period (15 minutes)
         600   ;retry interval (10 minutes)
         86400   ;expire time (1 day)
         3600   ;default ttl (1 hour)
         )
cuill.es               3600   IN   MX   10 ns1.cuill.es



Server: stat-85-88-202-117.pavianetwork.com
Address: 85.88.202.117

Query about cuill.es for record types ANY
Trying cuill.es ...
Query done, 8 answers, authoritative status: no error
cuill.es               600   IN   A   85.88.202.117
cuill.es               600   IN   A   85.88.202.118
cuill.es               600   IN   A   10.1.128.6
cuill.es               600   IN   A   10.1.128.8
cuill.es               3600   IN   NS   ns2.cuill.es
cuill.es               3600   IN   NS   ns1.cuill.es
cuill.es               3600   IN   SOA   ns2.cuill.es hostmaster (
         674   ;serial (version)
         900   ;refresh period (15 minutes)
         600   ;retry interval (10 minutes)
         86400   ;expire time (1 day)
         3600   ;default ttl (1 hour)
         )
cuill.es               3600   IN   MX   10 ns1.cuill.es


Offline rsw686

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 520
  • Karma: +0/-0
    • View Profile
    • The Reptile File
Re: internal IP external IP
« Reply #1 on: December 06, 2007, 10:54:37 pm »
Is this related to TinyDNS? If not and your using bind you can define views for internal vs external. There is probably something similar to TinyDNS. For example

Code: [Select]
acl internal {
10.10.128.0/24;
127.0.0.1;
};

view "internal" {
match-clients { internal; };
recursion yes;

zone...
};

view "external" {
match-clients { any; };
recursion no;

zone...
};
« Last Edit: December 06, 2007, 10:58:30 pm by rsw686 »

Offline delfo2000

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: internal IP external IP
« Reply #2 on: December 07, 2007, 03:02:36 pm »


  Hi,

thx for reply, I'm not using tinydns because I havent understand how configure it for my target, I'm using win2003. If you can tell me where find a good tinydns-pfsense user guide, sure I will try tinydns.
Regards


Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
  • Karma: +3/-0
    • View Profile
    • pfSense
Re: internal IP external IP
« Reply #3 on: December 07, 2007, 04:01:50 pm »
Look in the tinydns package area.  I've got some rudimentary instructions on how to create your first zone.