Creating reverse lookup zone files

Note: Make sure that you have the domain name and IP address of your DNS server.
  1. From the command prompt, navigate to the BIND installation folder. For example, cd C:\dns.
  2. Switch to the etc directory. For example, cd etc.
  3. Type start notepad db.domain .in-addr.arpa, where domain is the first three octets of the IP address of your server in reverse order, and then press Enter.
  4. When prompted to create a file, click Yes.
  5. In the new zone file, add the following:
    $TTL 3600
    @ IN SOA lpm-airprint.domain.com. unused-email (1 10800 3600 604800 60)
    @ IN NS lpm-airprint.domain.com.
    20 IN PTR lpm-airprint.domain.com.

    Where:

    • lpm‑airprint.domain.com is the fully qualified domain name of your server.

    • 20 is the last octet of the IP address of your server.

    Notes:
    • If there are duplicate AirPrint advertisements on the client devices when using BIND on Linux or Unix in the db.domain file, remove the _universal._sub._ipp._tcp IN PTR lpm‑airprint._ipp._tcp.domain.com line.
    • If character limitations occur when using GUI tools to add DNS records to a BIND server, reduce the key and value pairs to air=, pdl=, qtotal=, rp=, tls=, and urf=.
    • If there are Mac OS X 10.10 or later client workstations on the network, then add the Color= and Duplex= key and value pairs. Starting with Mac OS X 10.10, depending on the value of Color= and Duplex=, the color and duplex print settings for an AirPrint printer are disabled.
  6. Save the file.