package lc.stack.dns;

import lc.mecha.log.MechaLogger;
import lc.mecha.log.MechaLoggerFactory;
import lc.mecha.util.UniversalJob;

import java.net.MalformedURLException;
import java.net.UnknownHostException;

public class DNSDaemon {
    private static final MechaLogger logger = MechaLoggerFactory.getLogger(DNSDaemon.class);

    public static void main(String[] args) throws UnknownHostException, MalformedURLException {
        UniversalJob.banner(logger, "DNSDaemon");

        DNSService svc = new DNSService(53);
        svc.run();
    }
}
