[staticdns] fix address generation