PF uses DNS wildcards to answer any DNS query with the IP address of the 
captive portal. If you look for *anything* you should get the IP of the captive 
portal.  If you are getting back a not found error then PFDNS is not configured 
correctly.

Exactly what is wrong is hard to say without more info but try sending random 
DNS queries like:

ghlsfgillsadbh.com

It should still return the IP of your captive portal.  even sub-domains should 
work.

Jake Sallee
Godfather of Bandwidth
System Engineer
University of Mary Hardin-Baylor

900 College St.
Belton, Texas
76513

Fone: 254-295-4658
Phax: 254-295-4221
________________________________
From: Dell Thornhill [[email protected]]
Sent: Monday, October 21, 2013 9:15 AM
To: [email protected]
Subject: [PacketFence-users] Captive portal DNS issue

I'm having trouble reaching the captive portal from within the registration 
VLAN.

As I understand it PF is supposed to intercept DNS queries from made by the 
client and automagically redirect them the Captive Portal.

However when I have have wireshark running on the client and I ping 
vlan-registration.test.mydomain.com<http://vlan-registration.test.mydomain.com> 
I get "no such domain" returned from PF.

So this indicates that DNS is indeed running and functional on PF, but it 
doesn't know what I'm talking about.

Perhaps because I'm using a subdomain?

My networks.conf:
[10.2.6.0]
dns=10.2.6.1
dhcp_start=10.2.6.10
gateway=10.2.6.1
domain-name=vlan-isolation.test.mydomain.com<http://vlan-isolation.test.mydomain.com>
named=enabled
dhcp_max_lease_time=30
dhcpd=enabled
type=vlan-isolation
netmask=255.255.255.0
dhcp_end=10.2.6.246
dhcp_default_lease_time=30

[10.2.5.0]
dns=10.2.5.1
dhcp_start=10.2.5.10
gateway=10.2.5.1
domain-name=vlan-registration.test.mydomain.com<http://vlan-registration.test.mydomain.com>
named=enabled
dhcp_max_lease_time=30
dhcpd=enabled
type=vlan-registration
netmask=255.255.255.0
dhcp_end=10.2.5.246
dhcp_default_lease_time=30

Thanks

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to