If by dns record, you mean uwsgi_pass, then yea, I'm sure. Otherwise localhost wouldn't work either, but it does. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,278386,278408#msg-278408