Page MenuHomeVyOS Platform

Delete domain-name and domain-search won't work
Closed, ResolvedPublicBUG

Description

set system host-name 'R1'
set system domain-name 'example.com'
set system domain-search domain 'search.tld'
commit
delete system domain-name
delete system domain-search
commit

If we look to /etc/hosts and /etc/resolv.conf, all domain name stay here after delete from cli

vyos@vyos# sudo cat /etc/hosts

### Autogenerated by VyOS ###
### Do not edit, your changes will get overwritten ###

# Local host
127.0.0.1       localhost
127.0.1.1       R1.example.com R1

vyos@vyos# sudo cat /etc/resolv.conf 

### Autogenerated by VyOS ###
### Do not edit, your changes will get overwritten ###

nameserver 8.8.8.8
nameserver 1.1.1.1

domain example.com
search example.com search.tld

Details

Version
1.2-rolling-201909291310
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

Unknown Object (User) created this task.Sep 29 2019, 10:15 PM
Unknown Object (User) added a comment.Sep 29 2019, 10:19 PM

PR #142

Unknown Object (User) changed the task status from Open to In progress.Sep 29 2019, 10:19 PM
syncer closed this task as Unknown Status.Nov 16 2019, 11:36 PM
syncer assigned this task to jestabro.
syncer triaged this task as Normal priority.
syncer moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
syncer moved this task from Needs Triage to Backlog on the VyOS 1.2 Crux (VyOS 1.2.4) board.
jestabro changed the task status from Unknown Status to Resolved.Nov 22 2019, 2:06 PM