ABillS + FreeRADIUS + Accel-PPP only issue one DNS

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 port 57481
        Session-Timeout = 604800
        PPPD-Downstream-Speed-Limit = 51200
        Framed-IP-Netmask +=
        Framed-IP-Netmask +=
        Acct-Interim-Interval = 600
        DHCP-Domain-Name-Server +=
        DHCP-Domain-Name-Server +=
        PPPD-Upstream-Speed-Limit = 51200
        Framed-IP-Address =
Finished request 40.

Users received only the second DNS (, in ABillS, in the “Setup>Access Server>IP POOLs” two DNS – were specified.

Since the developer of ABillS did not know the reason, I set the DNS in /etc/accel-ppp.conf configuration:


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=',';

After that, the Access-Accept from FreeRADIUS did not pass DNS:

DHCP-Domain-Name-Server +=
DHCP-Domain-Name-Server +=

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:


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.

Leave a comment

Leave a Reply