Find the answer to your Linux question:
Results 1 to 6 of 6
Im using centos 5.3 I cant get both my views to transfer to the slave. Only one is being transferd....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    5

    views + master/slave in bind9


    Im using centos 5.3
    I cant get both my views to transfer to the slave. Only one is being transferd.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Are both Slave and Master setup to allow the transfer?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    5
    Yes, as i said i can transfer one of the view but not the other.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    What do your named.conf files look like for both Master and Slave?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #5
    Just Joined!
    Join Date
    Oct 2009
    Posts
    5
    master:

    options {
    directory "/var/named/";
    recursion no;
    notify yes;
    allow-transfer {192.168.0.4;};
    };

    view "intern" {
    match-clients {192.168.0.1; };
    zone "dala.hk." {
    type master;
    file "data/intern/dala.hk.zone";

    };

    zone "0.168.192.in-addr.arpa" {
    type master;
    file "data/intern/1.0.168.192.in-addr.arpa";

    };
    };

    view "extern" {
    match-clients { any;};
    zone "dala.hk" {
    file "data/extern/dala.hk.zone";
    type master;
    };
    };

    #zone "0.168.192.in-addr.arpa." {
    # type master;
    # file "data/extern/1.0.168.192.in-addr.arpa";
    #
    #};




    logging {
    channel query.log {
    file "/var/log/query.log";
    severity dynamic;
    };

    category default {
    query.log;
    };
    }


    slave:

    options {
    directory "/var/named/";

    };


    view "intern" {
    match-clients {192.168.0.1;};
    zone "dala.hk." {
    type slave;
    file "intern";
    masters { 192.168.0.1; };
    };
    };
    view "extern" {
    match-clients {any;};
    zone "dala.hk." {
    type slave;

    file "extern";
    masters {192.168.0.1; };

    };
    };

    logging {
    channel query.log {
    file "/var/log/query.log";
    severity debug 3;
    };
    category queries { query.log; };
    };





    #key 12 {
    #algorithm hmac-md5;
    #secret "12s3RvrjqaioiXCYK5lm0w==";
    #};

  7. #6
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Check that the directories that should host the file are writable by named.
    Also run named-checkconf in the dir where named.conf is located for any errors.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •