Once after installation ABillS + FreeRADIUS2 + Accel-PPP (ipoe) noticed that for DHCP clients receive only one DNS server.
Access-Accept from FreeRADIUS was this:
Sending Access-Accept of id 1 to 127.0.0.1 port 57481 Session-Timeout = 604800 PPPD-Downstream-Speed-Limit = 51200 Framed-IP-Netmask += 255.255.255.0 Framed-IP-Netmask += 255.255.255.0 Acct-Interim-Interval = 600 DHCP-Domain-Name-Server += 184.108.40.206 DHCP-Domain-Name-Server += 220.127.116.11 PPPD-Upstream-Speed-Limit = 51200 Framed-IP-Address = 172.20.20.20 Finished request 40.
Users received only the second DNS (18.104.22.168), in ABillS, in the “Setup>Access Server>IP POOLs” two DNS – 22.214.171.124.126.96.36.199 were specified.
Since the developer of ABillS did not know the reason, I set the DNS in /etc/accel-ppp.conf configuration:
[dns] dns1=188.8.131.52 dns2=184.108.40.206
And since the DNS from Access-Accept from FreeRADIUS has more priority than those in the Accel-PPP configuration, I removed them from all IP POOLs SQL by querying:
update ippools SET dns='';
If that their-you can specify in all IP POOLs like this:
update ippools SET dns='220.127.116.11,18.104.22.168';
After that, the Access-Accept from FreeRADIUS did not pass DNS:
DHCP-Domain-Name-Server += 0.0.0.0 DHCP-Domain-Name-Server += 0.0.0.0
And Accel-PPP started issuing those that are specified in its configuration.
I note that when DNS was issued from IP POOLs billing, then in the Accel-PPP logs with DHCPv4 Ack they were displayed as:
<DNS 22.214.171.124> <DNS 126.96.36.199>
And when they started to be issued those that are specified in the Accel-PPP configuration, then:
UPD: In new versions of Accel-ppp, this problem is solved, you can transfer several DNS even though it is so.