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
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" } }