MSU-CS4360-JDNS / JDNSS

A leaf DNS server in Java
1 stars 1 forks source link

use of serverSecret Jarg overwrites jnamed.conf #25

Closed cblanto7 closed 6 years ago

cblanto7 commented 6 years ago

for example, inside of /etc/jnamed.conf I might have the following:

some-other-commandlinearg "porkchops"
cookie-secret "897912n187af8123"
final-arg "testme"

if I run JDNS with the following command line args sudo java -jar target/jdnss-2.0.jar --serverSecret=newsecret test.com

then /etc/jnamed.conf will only contain

cookie-secret "newsecret"