Page MenuHomeVyOS Platform

Error in DNS Forwarder listen-on
Closed, ResolvedPublicBUG

Description

with update 'service dns forward listen-on' config is gone.

In config.boot 'listen-on' is empty:

service {
    dns {
        forwarding {
            cache-size 0
            dhcp eth0
            domain domain.intern {
                server 172.16.10.41
            }
            listen-on
        }
    }

If you try to set listen-on:

[edit service dns forwarding]
vyos@vyos-test# set listen-on eth1

  Configuration path: [listen-on eth1] already exists

Details

Difficulty level
Unknown (require assessment)
Version
VyOS-1.2.0-rolling+201804190337
Why the issue appeared?
Implementation mistake

Event Timeline

What happens if you do: delete service dns forwarding

and then re-add all nodes?

set service dns forwarding cache-size 0
set service dns forwarding dhcp eth0
set service dns forwarding domain domain.intern server 172.16.10.41 
set service dns forwarding listen-on eth1

I just tried. The config tree looks like before:

service {
    dns {
        forwarding {
            cache-size 0
            dhcp eth0
            domain m3t.ch {
                server 172.16.10.41
            }
            listen-on
        }
    }
c-po moved this task from In Progress to Finished on the VyOS 1.2 Crux board.
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.

Fixed in vyos-1x ... new ISO will be available shortly.

I have updated to V1.2.0-rolling+201804200337. After that the configuration node 'service dns forwarding' has disappeared from the config tree.
I reconfigured this and the 'listen on'-part is ok now. Thanks for fixing this one Christian.

thanks
Dani