Home Assistant URL is grayed out, cannot change

So… A few moons ago I configured an external URL on my home assistant, which I now want to change. And it does not go well:

I indeed do have config stored in ‘configuration.yaml’ under the ‘homeassistant’ key. There is nothing that configures external URL though. And home asssitant does have external URL configured somewhere, but definitely not from configuration.yaml.

I can certainly disable configuration.yaml, then change URL, then put it all back. Or even find that huge JSON blob where configuration is stored and edit it directly. But perhaps someone could point me to how can I define external URL directly in yaml so that I don’t have to deal with this ever again? Also, DNS, could I define DNS there, my instance loses DNS settings every restart and then a bunch of stuff breaks until i manually put it back