Update qrcode_server.py

In dns function ip is used even though there is no ip variable. It looks like it was meant to be ipaddr.