Commit a5a7f330 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2390] Add NS implementation

parent e1ed220b
......@@ -36,6 +36,7 @@ new_rdata_factory_users = [('aaaa', 'in'),
('hinfo', 'generic'),
('naptr', 'generic'),
('mx', 'generic'),
('ns', 'generic'),
('ptr', 'generic'),
('soa', 'generic'),
('spf', 'generic'),
......
......@@ -39,6 +39,11 @@ NS::NS(InputBuffer& buffer, size_t) :
// check consistency.
}
NS::NS(MasterLexer& lexer, const Name*, MasterLoader::Options,
MasterLoaderCallbacks&) :
nsname_(lexer.getNextToken(MasterToken::QSTRING).getString())
{}
NS::NS(const NS& other) :
Rdata(), nsname_(other.nsname_)
{}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment