mbrunnen / dnsmasq

python dnsmasq library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dnsmasq

Python dnsmasq library

how to use

import dnsmasq
dns = dnsmasq.Dnsmasq("/etc/dnsmasq.d/cloud.conf")
dns.exists_name('test')
dns.add('test', '10.10.10.10')
dns.delete('test')

About

python dnsmasq library

License:Apache License 2.0


Languages

Language:Python 100.0%