Changeset 6241


Ignore:
Timestamp:
Sep 3, 2008, 9:28:35 AM (16 years ago)
Author:
RIck van der Zwet
Message:

Working resolv.conf file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exodus/templates/resolv.conf

    r6237 r6241  
    11# The file is WirelessLeiden specific. Please make all changes in exodus
     2# next door interlink nighboors to be specified, in case of own DNS failures
    23#
    34# Generated on {{ object.date.day }}-{{ object.date.month }}-{{ object.date.year }}
     
    89
    910nameserver 127.0.0.1 #localhost
    10 # XXX: next door interlink nighboors to be specified, in case of own DNS
    11 # failures
     11{% spaceless %}
     12{% for nic in object.nic_set.all %}
     13        {% for interlink in nic.link1.all %}
     14nameserver {{ interlink.ip2 }} # {{ interlink.iface2.node }} {% endfor %}
     15        {% for interlink in nic.link2.all %}
     16nameserver {{ interlink.ip1 }} # {{ interlink.iface1.node }} {% endfor %}
     17{% endfor %}
     18{% endspaceless %}
Note: See TracChangeset for help on using the changeset viewer.