dnschef
dnschef copied to clipboard
Update dnschef.py
Parameter --truedomains not working
Error in line 287: for domain,host in sorted(iter(nametodns.items()), key=operator.itemgetter(1)):
Error text: TypeError: '<' not supported between instances of 'str' and 'bool'
The error occurs because the sort key can be strings and booleans.
Dnschef output before fix:

Dnschef output after fix:
