Hello!

We are running pfSense on an IBM box which has got four NICs (WAN, DMZ and two 
other subnets). The configuration looks like that:

+------+----------------------------------------+
| WAN  | IP assigned by ISP                     |
| DMZ  | IP: 192.168.0.1 Netmask: 255.255.255.0 |
| OPT1 | IP: 192.168.1.1 Netmask: 255.255.255.0 |
| OPT2 | IP: 192.168.2.1 Netmask: 255.255.255.0 |
+------+----------------------------------------+

Now we want to assign the hostname of the machine to all the three interfaces 
on the DNS Forwarder page of the WebGUI, however we always receive the 
message that such any entry already exists. From my point of view this is not 
very sophisticated as it prevents us from using the '-y' option of dnsmasq:

-----------------------------------------------------------------------------
-y, --localise-queries
Return answers to DNS queries from /etc/hosts which depend on the interface 
over which the query was received. If a name in /etc/hosts has more than one 
address associated with it, and at least one of those addresses is on the 
same subnet as the interface to which the query was sent, then return only 
the address(es) on that subnet. This allows for a server to have multiple 
addresses in /etc/hosts corresponding to each of its interfaces, and hosts 
will get the correct address based on which network they are attached to. 
Currently this facility is limited to IPv4.
-----------------------------------------------------------------------------

Therefore I would really be looking forward to adding this parameter to the 
existing options that are passed to the dnsmasq binary. If any patches are 
welcome, please let me know.

Cheers,
Fabian

Reply via email to