Failed to resolve via localhost (127.0.0.1)

I've never used a pi as access point so I don't know what software you installed that created that file. Searching this forum for SoftAP yield a few issues whit exactly that file and a few approached to circumvent the re-recreation on reboot.

There might be more... just search for them.