Set correct endpoint for dns

This commit is contained in:
wcolmenares 2019-05-30 05:24:09 -04:00
parent 0c45d87616
commit a185cf6a32

View file

@ -19,9 +19,9 @@ class ungleichDNS(object):
self.parser['dns'].set_defaults(func=self._handle_dns)
def _handle_dns(self, args):
"""A dev endpoint for reverse-dns service."""
"""Reverse dns endpoint."""
r = requests.post(
'https://dev.william.ungleich.cloud',
'https://dns.service.ungleich.ch',
json={
'username': args.user,
'token': args.token,