On 2012-03-15 04:27, Raimund Sacherer wrote:

On 3/14/2012 4:08 PM, Ugo Bellavance wrote:
Is there DNS resolution in aliases (pfSense 2.x)?  Is it possible
to
create an alias, for example, named "bunch of servers", and in the
hosts, instead of entering the IP address, enter a DNS name?

Yes.
A


To push it even further, if it is the case, can we use a DNS name
that
has many A records (like db.us.clamav.net)?

Yes.
B


If so, when is the DNS
query made to get the IP addresses?

There is a filterdns daemon that checks every few minutes and
populates
the tables if the hostnames change.
C

A=B=C= I Did not know about these possibilites, and I have the pfsense book 
too, I think this is REALLY important information, especially the that multiple 
IP's are gathered from DNS and that they are rechecked every X minutes! This 
should definitly be discussed in more detail in the new book!!!

Does this filterdns daemon *change* the addresses or adds them? What I mean is, 
if you get multiple IP's from DNS RoundRobin style, you always have the same 
batch of IP's, but if they are loadbalanced in a different way and you retrieve 
different batchs of IP's or a different IP at the next check, are those added, 
or will they replace the not matching set?

Is this daemon active by default?

Is it possible to evoke the daemon from the shell to fast prefill an alias list?

Why would you do that, you could probably just insert the name in an (group) alias and there you go.

By the way, I think I could find time to write a page of documentation for docs.pfsense.org about that (once I get my answer about the best practices). And I could probably offer help for the book this summer as I'll be in parental leave for 5 weeks.

Ugo


_______________________________________________
List mailing list
[email protected]
http://lists.pfsense.org/mailman/listinfo/list

Reply via email to