/**
 * File:	clients/dns-server.ycp
 * Package:	Configuration of dns-server
 * Summary:	Main file
 * Authors:	Jiri Srain <jsrain@suse.cz>
 *		Lukas Ocilka <locilka@suse.cz>
 *
 * $Id: dns-server.ycp 20780 2005-01-17 14:12:38Z locilka $
 *
 * Main file for dns-server configuration. Uses all other files.
 */

{

/***
 * <h3>Configuration of the dns-server</h3>
 */

    textdomain "dns-server";
    import "DnsServerUI";

    /* The main () */
    y2milestone ("----------------------------------------");
    y2milestone ("DnsServer module started");

    /* main ui function */
    any ret = nil;

    // there are some arguments - starting commandline
    if (size(WFM::Args())>0) {
	include "dns-server/cmdline.ycp";
    } else {
	ret = DnsServerUI::DnsSequence();
	y2debug("ret=%1", ret);
    }

    /* Finish */
    y2milestone("DnsServer module finished");
    y2milestone("----------------------------------------");

    return ret;

/* EOF */
}
