For some reason when I change the DNS setting from the console "DNS Configuration" it does not save the setting.
I do hope that you have restarted management network once you changed the settings. Also, instead of changing in the file [which is not recommended], do try to change the same in Configuration-dns and routing.