DNS zone: how to allow query to all for a zone

Discussion in 'Installation/Configuration' started by DarioL, Mar 1, 2024.

  1. DarioL

    DarioL Member

    As happens in this example
    Code:
    [root@s-backup-tuono ~]# host -tNS debian.com
    debian.com name server sec2.rcode0.net.
    debian.com name server sec1.rcode0.net.
    debian.com name server dns4.easydns.info.
    debian.com name server nsp.dnsnode.net.
    [root@s-backup-tuono ~]# host -tA debian.com sec2.rcode0.net.
    Using domain server:
    Name: sec2.rcode0.net.
    Address: 176.97.158.100#53
    Aliases:
    
    debian.com has address 128.31.0.62
    debian.com has address 130.89.148.77
    I want allow query to all for a specific zone when someone query a record of this zone.
    I must transfer into Ispconfig a zone as which is now configured as follows:
    Code:
    zone "myzone.it" {
            type master;
            file "myzone.it/master.zone";
            allow-transfer  { some.ip....; other-ip; };
            allow-query     { any; };
    }
    From ISPconfig control panel I can enable transfer zone for someone, but I do not know how to allow query for this zone to all
    Many thanks
    Dario
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This is the default, so there is nothing special to configure.
     
  3. DarioL

    DarioL Member

    Thanks Till
    Fixed: I had incorrectly set "allow-query { "none"; }" (like allow-recursion ) in /etc/named.conf.
    Now I have set it to "allow-query { any; }" like doc say and all work fine.
    Dario
     
    till likes this.

Share This Page