123456789101112131415161718 |
- 127.0.0.1 localhost
- [% FOR if IN interfaces -%]
- [% IF if.ip -%]
- [% if.ip %] [% hostname %].[% domain %] [% hostname %]
- [% END -%]
- [% END -%]
- # 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
- [% FOR if IN interfaces -%]
- [% IF if.ip6 -%]
- [% if.ip6 %] [% hostname %].[% domain %] [% hostname %]
- [% END -%]
- [% END -%]
|