Subversion Repositories ALCASAR

Rev

Rev 2709 | Rev 2724 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2709 Rev 2711
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2709 2019-03-05 23:20:31Z tom.houdayer $
2
#  $Id: alcasar.sh 2711 2019-03-10 23:23:31Z tom.houdayer $
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
#  team@alcasar.net
7
#  team@alcasar.net
Line 1634... Line 1634...
1634
        name: "lo"
1634
        name: "lo"
1635
        local-zone: "$HOSTNAME.$DOMAIN" static
1635
        local-zone: "$HOSTNAME.$DOMAIN" static
1636
        local-data: "$HOSTNAME.$DOMAIN A 127.0.0.1"
1636
        local-data: "$HOSTNAME.$DOMAIN A 127.0.0.1"
1637
        local-zone: "$HOSTNAME" static
1637
        local-zone: "$HOSTNAME" static
1638
        local-data: "$HOSTNAME A 127.0.0.1"
1638
        local-data: "$HOSTNAME A 127.0.0.1"
1639
        local-zone: "$DOMAIN." static
-
 
1640
        local-data: "$DOMAIN. A"
-
 
1641
        view-first: yes
1639
        view-first: yes
1642
EOF
1640
EOF
1643
 
1641
 
1644
        # Configuration file for $INTIF of forward unbound
1642
        # Configuration file for $INTIF of forward unbound
1645
        cat << EOF > /etc/unbound/conf.d/forward/iface.${INTIF}.conf
1643
        cat << EOF > /etc/unbound/conf.d/forward/iface.${INTIF}.conf