Skip to content

Backend DNS changes not applied with /api/v1/system/hostname  #89

@jaredhendrickson13

Description

@jaredhendrickson13

After updating the system hostname via API, the backend DNS and host changes are not applied:

{
  "status": "ok",
  "code": 200,
  "return": 0,
  "message": "Success",
  "data": {
    "hostname": "test",
    "domain": "example.com"
  }
}
# Hostname and search domain remain as the default values
[2.5.0-RELEASE][admin@**pfSense.home.arpa**]/root: cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 172.16.77.1
search home.arpa

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions