view dns/templates/hosts.j2 @ 332:d4893670f888 default tip

WIP: use watchdog reboot timer on pi
author drewp@bigasterisk.com
date Thu, 27 Feb 2025 11:09:29 -0800
parents 5b88b38f2471
children
line wrap: on
line source

# written by pyinfra

127.0.0.1       localhost
127.0.1.1       {{ host.name }}

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


{% if 'laptop' in host.groups or 'hosted' in host.groups %}
10.5.0.1 bang bang.bigasterisk.com bang5 bang5.bigasterisk.com 
10.5.0.7 ditto ditto.bigasterisk.com ditto5 ditto5.bigasterisk.com 
10.5.0.5 dash
{% endif %}

{% if host.name == 'prime' %}
# for wireguard setup:
127.0.0.1 public.bigasterisk.com
{% endif %}