Welcome, Guest. Please login or register.
April 16, 2014, 18:03:29 PM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Software
| | |-+  BIND configure
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: BIND configure  (Read 848 times)
zaG
pardus-linux.ru
Newbie
*
Posts: 6


View Profile WWW
« on: January 26, 2012, 16:28:16 PM »

hello! help me pleas! i have server. Os pardus 2011.2.

I want to park my domain packages.pardus-linux.ru on your server! it requires a service dns. how to configure BIND. /etc/named.conf is missing.
Logged

Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #1 on: January 27, 2012, 02:24:15 AM »

Hello zaG and welcome to this forum!

I just installed BIND, as I know nothing about it and have never used it.
After install, there is now:

etc/bind/named.conf

that contains:
Code:
options {
    directory "/var/named";

    // uncomment the following lines to turn on DNS forwarding,
    // and change the forwarding ip address(es) :
    //forward first;
    //forwarders {
    //  123.123.123.123;
    //  123.123.123.123;
    //};

    listen-on-v6 { none; };
        listen-on { 127.0.0.1; };

    // to allow only specific hosts to use the DNS server:
    //allow-query {
    //  127.0.0.1;
    //};

    // if you have problems and are behind a firewall:
    //query-source address * port 53;
    pid-file "/var/run/named/named.pid";

    // Enable recursion , this is a potential security problem, see http://www.us-cert.gov/reading_room/DNS-recursion033006.pdf
    // recursion yes;
    // allow-recursion { localnets; localhost; };
    // allow-query-cache { localnets; localhost; };
};

// Briefly, a zone which has been declared delegation-only will be effectively
// limited to containing NS RRs for subdomains, but no actual data beyond its
// own apex (for example, its SOA RR and apex NS RRset). This can be used to
// filter out "wildcard" or "synthesized" data from NAT boxes or from
// authoritative name servers whose undelegated (in-zone) data is of no
// interest.
// See http://www.isc.org/products/BIND/delegation-only.html for more info

//zone "COM" { type delegation-only; };
//zone "NET" { type delegation-only; };

zone "." IN {
    type hint;
    file "named.ca";
};

zone "localhost" IN {
    type master;
    file "pri/localhost.zone";
    allow-update { none; };
    notify no;
};

zone "127.in-addr.arpa" IN {
    type master;
    file "pri/127.zone";
    allow-update { none; };
    notify no;
};

Is this what you are looking for?
Regards, Lisa Marie
Logged
zaG
pardus-linux.ru
Newbie
*
Posts: 6


View Profile WWW
« Reply #2 on: January 28, 2012, 12:26:09 PM »

thanks!!!
Logged

Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!