bind / named how to make a wildcard record and retain defined A records

It is almost as intuitive as we would like it is just a *.

So literally:

* IN A 127.0.0.1

 

Complete working bind zonefile below:

$TTL    86400

@    IN    SOA    ns.rtt.ca. ns2.rtt.ca. (
            1247605715; Serial
            10800    ; Refresh
            3600    ; Retry
            604800    ; Expire
            10800 )    ; Minimum

*        IN CNAME rtt.ca.

rtt.ca.         IN A 191.15.11.61
forum            IN CNAME rtt.ca.
forums            IN CNAME rtt.ca.
rtt.ca.        IN NS ns1.rtt.com.
rtt.ca.        IN NS ns2.rtt.com.
webmail.rtt.ca.         IN A     191.15.11.55
mail.rtt.ca.         IN A     191.15.11.55
ftp.rtt.ca.         IN CNAME     rtt.ca.
www.rtt.ca.         IN CNAME     rtt.ca.
rtt.ca.         IN MX    10 mail.rtt.ca.

 


Tags:

bind, wildcard, retain, defined, recordsit, intuitive, zonefile, ttl, soa, ns, rtt, ca, refresh, retry, expire, cname, forum, forums, webmail, ftp, www, mx,

Latest Articles

  • Debian and Netplan
  • CentOS 8 how to restart the network!
  • CentOS 8 how to convert to a bootable mdadm RAID software array
  • ADATA USB Thumb Drive Issues
  • KMODE EXCEPTION NOT HANDLED - QEMU/KVM Won't Boot Windows 2016 or 10 Image or Physical Machine
  • Linux Mint / Ubuntu / Debian Mate Disable Guest Session and Hide Usernames on Lightdm Login screen GUI
  • SSH How To Create Public/Private Key Pair and with a Larger Keysize than 2048 bits
  • selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service geckodriver
  • python ModuleNotFoundError: No module named 'bs4' even though you have the module
  • ssh how to connect using a SOCKS 5 proxy with nc and proxycommand
  • Enable AMDGPU Linux Driver
  • apache symlinks denied even with followsymlinks
  • chown how to change ownership on a symlink
  • how to use ifplugd in Linux to execute a command or script when a NIC cable is unplugged or plugged in
  • dd how to backup and restore disk images including compression with gzip
  • mpv / mplayer with Radeon / AMD GPU Video Card Driver enable VDPAU GPU Accelerated Video Decoding
  • Wordpress Reset Blog User Password from MySQL Using Linux Bash and not PHPMyadmin
  • Ubuntu Linux Mint Debian xorg performance and tear-free tuning for AMD Radeon Based Cards
  • Centos 7 Stopped and Disabled Firewalld and ports still blocked
  • MariaDB / MySQL Reset Root Forgotten Password on Centos 7