DHCP Option 252

Hi All,

I was using the master for a while and had the DHCP option 252 set which worked well.

I have since moved to the FTLDNS version and can't seem to get it to work.

Any help? Which location should I be placing it in?

Debug Token: 6grjxjt5yf

What do you mean by "DHCP option 252"?

How are you setting the option, can you paste a copy of the configuration and the name of the file you are setting it with?

That doesnt seem to be a valid default DHCP option:

pi@noads:~ $ dnsmasq --help dhcp
Known DHCP options:
  1 netmask
  2 time-offset
  3 router
  6 dns-server
  7 log-server
  9 lpr-server
 13 boot-file-size
 15 domain-name
 16 swap-server
 17 root-path
 18 extension-path
 19 ip-forward-enable
 20 non-local-source-routing
 21 policy-filter
 22 max-datagram-reassembly
 23 default-ttl
 26 mtu
 27 all-subnets-local
 31 router-discovery
 32 router-solicitation
 33 static-route
 34 trailer-encapsulation
 35 arp-timeout
 36 ethernet-encap
 37 tcp-ttl
 38 tcp-keepalive
 40 nis-domain
 41 nis-server
 42 ntp-server
 44 netbios-ns
 45 netbios-dd
 46 netbios-nodetype
 47 netbios-scope
 48 x-windows-fs
 49 x-windows-dm
 58 T1
 59 T2
 60 vendor-class
 64 nis+-domain
 65 nis+-server
 66 tftp-server
 67 bootfile-name
 68 mobile-ip-home
 69 smtp-server
 70 pop3-server
 71 nntp-server
 74 irc-server
 77 user-class
 93 client-arch
 94 client-interface-id
 97 client-machine-id
119 domain-search
120 sip-server
121 classless-static-route
125 vendor-id-encap
255 server-ip-address

I'm trying to setup an auto discovery pac file. Broadcast by DHCP.

Aha this one ?

dhcp-option=252,http://your.server.here/wpad.dat

You can place it in a new dnsmasq config file like for example:

/etc/dnsmasq.d/13-wpad.conf

EDIT: oops, not sure bout above bit with the new FTLDNS :roll_eyes:

I have no experience with WPAD but if install "nmap" on a client, below one might come in handy:

sudo nmap -sU -p67 --script dhcp-discover <PIHOLE_IP_ADDRESS>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.