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

  • Aruba/HP/Dell IAP Wireless Controller Common Default Passwords
  • Debian, Mint Ubuntu how to remove package and associated config files
  • Linux Grub not booting the intended kernel solution in Debian, Mint, Ubuntu how to specify which kernel to boot by default
  • QEMU KVM Keyboard Problems Not Working Right Repeating Characters, Ctrl+C Copy and Paste not working right when using PS2 mouse in guests Solution
  • Linux how to compile binary with static sharedobjects embedded instead of dynamic to use on multi-distributions and avoid glibc compatiblity issues
  • /bin/sh: msgfmt: not found error solution on Linux Compilation Ubuntu Debian Mint Centos
  • Mikrotik RouterOS CHR/ISO Basic and Quick Setup Howto Guide
  • qemu 4 compilation options
  • CentOS 7 8 PXEBoot Netinstall Not Working Solution "Pane is dead "new value non-exisetnt xfs filesystem is not valid as a default fs type"
  • CentOS 6 EOL yum repo won't work Error: Cannot find a valid baseurl for repo: base Solution
  • CentOS 7 8 How To Disable SELinux
  • Wordpress How To Add Featured Image To Post in Hueman Theme
  • kdenlive full reset how to erase all config files
  • CentOS 7 8 yum error Trying other mirror. To address this issue please refer to the below wiki article
  • Microsoft Teams Linux - Calendar Doesn't Work Missed Meetings!
  • Scanner not working in Linux Ubuntu Fedora Mint Debian over the network? Use sane-airscan!
  • How To Boot, Install and Run Windows 2000 on QEMU-KVM
  • bash cannot execute permission denied
  • Huion and Wacom Tablets How To Install in Linux Mint / Ubuntu and make the stylus work properly
  • ffmpeg how to cut certain parts of video out