Set correct endpoint for dns
This commit is contained in:
parent
0c45d87616
commit
a185cf6a32
1 changed files with 2 additions and 2 deletions
|
@ -19,9 +19,9 @@ class ungleichDNS(object):
|
||||||
self.parser['dns'].set_defaults(func=self._handle_dns)
|
self.parser['dns'].set_defaults(func=self._handle_dns)
|
||||||
|
|
||||||
def _handle_dns(self, args):
|
def _handle_dns(self, args):
|
||||||
"""A dev endpoint for reverse-dns service."""
|
"""Reverse dns endpoint."""
|
||||||
r = requests.post(
|
r = requests.post(
|
||||||
'https://dev.william.ungleich.cloud',
|
'https://dns.service.ungleich.ch',
|
||||||
json={
|
json={
|
||||||
'username': args.user,
|
'username': args.user,
|
||||||
'token': args.token,
|
'token': args.token,
|
||||||
|
|
Loading…
Reference in a new issue