ddns: make use of symbol names instead of int consts