DHCP with NextDNS ID

Hey, I was able to use the NextDNS for a specific interface but without the NextDNS ID, Here you can check the old post. Now how can i set the NextDNS id for the openwrt with DHCP?

This is how NextDNS said, but OpenWRT has different config, So i was unable to do here the config.
dnsmasq
Use the following in dnsmasq.conf:

no-resolv
bogus-priv
strict-order
server=2a07:a8c1::
server=45.90.30.0
server=2a07:a8c0::
server=45.90.28.0
add-cpe-id=*******

I don't have really a clue about add-cpe-id=. The OpenWrt dnsmasq wiki does not mention this option at all. So you would probably need the dnsmasq-full package. The installed dnsmasq is a stripped down version. It could be also that the version of dnsmasq OpenWrt is using is lagging a bit behind the upstream version and this option is simple not there.

Any clue how do i even try it? I did before which broke my dnsmasq config then i had to remove it.

As far i know it was released in 2014 in dnsmasq so i do not think openwrt still haven't added that option yet.

Before you start you have to issue a:
opkg update
You have to remove the installed version first with:
opkg remove dnsmasq
and after you install the full version with:
opkg install dnsmasq-full

The config should not be touched.

Sorry this is not what i meant here, I asked for the config i mean like config dnsmasq option add-cpe-id 'ls2458' . Anyways someone have made a post on feature request here.

1 Like