I’m having an issue where the DNS A record of the packetfence server is being 
overwritten with the “Hidden Domain Network” private IP address. 

I’ve defined a domain in configuration→ Domain with the name MGA. An interface 
is being created called MGA-b. If I execute ifconfig the interface is listed as 
follows.

MGA-b     Link encap:Ethernet  HWaddr B2:BC:6E:33:AE:87  
          inet addr:169.254.0.2  Bcast:169.254.0.3  Mask:255.255.255.252

The problem is that the static DNS entry is being overwritten with the 
self-assigned IP address 169.254.0.2.

The interface seems to be created in 
/usr/local/pf/lib/pf/services/manager/winbindd_child.pm with the line below:

pf_run("sudo ip link add $domain-a type veth peer name $domain-b");

I noticed in /usr/local/pf/var/conf/iptables.conf this network is called a 
"hidden domain network" as listed below: 

# Routing for the hidden domain network
#
-A POSTROUTING -s 169.254.0.0/16 -o eth0 -j SNAT --to-source ###.###.###.###

How can I specify the public NAT IP to be used when DNS is updated? Is this a 
bug? I'm guessing it has something to do with samba or winbind.

Joel Morgan


------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to