fcrdns: more refactoring, inherit note.js