2 #include "nameserver.h"
8 int main(int argc, char* argv[])
10 typedef NameServer::Name N;
11 std::ifstream ifs("test_nameserver_zones.txt");
13 std::cout << ns << "\n";
14 ns.resolv_next(N("tito.mi.super.nombre"));
15 ns.resolv_next(N("juan.mi.super.nombre"));
16 ns.resolv_next(N("pepe.otro.mi.super.nombre"));
17 ns.resolv_next(N("pepe.mas.mi.super.nombre"));
18 ns.resolv_next(N("super.nombre"));
19 ns.resolv_next(N("nada.que.ver"));
23 // vim: set et sw=4 sts=4 :