Commit 7ddf561d authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2656] Add CNAME implementation

parent e6603386
......@@ -33,6 +33,7 @@ import sys
# Example:
# new_rdata_factory_users = [('a', 'in'), ('a', 'ch'), ('soa', 'generic')]
new_rdata_factory_users = [('aaaa', 'in'),
('cname', 'generic'),
('hinfo', 'generic'),
('naptr', 'generic'),
('mx', 'generic'),
......
......@@ -39,6 +39,11 @@ CNAME::CNAME(InputBuffer& buffer, size_t) :
// check consistency.
}
CNAME::CNAME(MasterLexer& lexer, const Name*, MasterLoader::Options,
MasterLoaderCallbacks&) :
cname_(lexer.getNextToken(MasterToken::QSTRING).getString())
{}
CNAME::CNAME(const CNAME& other) :
Rdata(), cname_(other.cname_)
{}
......
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