We aren't a Registrar.
What I have seen Registrars do when we allow domains to expire is they change the name servers of the domain to something like:
ns1.pendingdeletion.com & ns2.pendingdeletion.com or if parked to ns1.parked.com and ns2.parked.com. I imagine that is simpler than changing other records. What they do behind the scenes after changing the Name Servers I can't say.
You could just set up an alias zone file then update your named.conf on those servers to add each of the zones to that alias zone. In the alias zone file you could have it point to a single IP then insure your web server accepts all the zone URLs (e.g. expirezone1.example.com, expiredzone2.example.com etc... along with www for each.
So for BIND DNS servers (I set name of domain YOU use to expiredzones.com - you would of course change it to the real zone
you use and edit the name servers and MX (if desired) accordingly.)
Zone file expiredzone-aliases:
Code:
@ IN SOA ns1.expiredzones.com. admin.expiredzones.com. (
2018051501 ; serial number
7200 ; refresh
3600 ; retry
604800 ; expire
2400 ) ; Minimum TTL
; Name Servers
;
IN NS ns1.expiredzones.com.
IN NS ns2.expiredzones.com.
;
; Mail Servers
300 IN MX 20 smtp.expiredzones.com.
;
;
; Addresses (A records) - Point to the IP of the web server
;
localhost IN A 127.0.0.1
;
@ IN A x.x.x.x ; Web server IP
www IN A x.x.x.x ; Same web server IP
;
And in named.conf (in addition to the normal stuff):
Code:
zone "expiredzone1.com" {
type master;
file "expiredzone-aliases";
allow-query { any; };
};
zone "expiredzone2.com" {
type master;
file "expiredzone-aliases";
allow-query { any; };
};
In the above zone file "@" is used instead of actual expired domain names so that it gets replaced with the expired domain names from named.conf when they are queried. (e.g. @ becomes "expiredzone1.com" if someone is querying that but becomes expiredzone2.com if someone is instead querying that. This simplifies setup so that you only need one zone file for multiple domains (which are called zones in named.conf - zone and zonefile can be and often are different as shown in my example).