Just checked and the IP right now is: 198.143.164.250
Do you want an programmable-in-php way to do it? You could run this on a WP-Cron schedule (adding some code) to check if the IP has changed at all and change it in your firewall if so while deleting the old IP (or use a hook to update the whitelist right before the major update calls all to download the zip). The code will only be as hard as how to whitelist things in your firewall. Hopefully it’s something like:
$whitelist_ip = gethostbyname('downloads.wordpress.org');
add_to_whitelist($whitelist_ip);
Obviously the add_to_whitelist function is hypothetical (a function that either already exists, or you’d need to write) because adding an IP to a firewall depends entirely on what kind of firewall you’re using which you may want to edit your original question to explain your firewall and how you add IPs to it.
Related Posts:
- Update to older wordpress version from admin?
- Find out if there is a available core update?
- wordpress update will overwrite files changes?
- Updating WordPress core with zero downtime – I mean zero
- Is there a way to schedule automatic WordPress core updates?
- How does one dismiss the ‘upgrade notice’ when managing upgrades with SVN?
- Is the root index.php file part of the Core?
- Where can I see all changes for a new WordPress version?
- Where does wordpress gets its core and plugin updates
- What do WordPress auto updates include?
- Updating wordpress from my Linux distro’s repository
- How does WordPress get the upgrade URL?
- Plugins download & install fine, wordpress update fails
- Hook or function to check if performing a WP Core update?
- What is your best practice to execute one-time scripts?
- How should I structure a WP website project using git and updating from WP dashboard?
- WP-CLI not recognizing commercial plugin updates
- IP address whitelist to update WordPress core and plugins
- Set custom messages for post update/save
- How can I manually upgrade translations?
- Automating the Backup Process (30+ websites)
- “Unexpected error” on update requests
- Managing WP Core & Plugin Updates for Clients
- Permissions to get autoupdate to work
- Disable requests to api.wordpress.org
- Git Deploying – Disabling plugin/theme installation/update on remote?
- Block updates by Server
- WordPress 5.5 AutoUpdate schedule
- How long does it take for theme / plugin automatic updates to initiate?
- Can’t preview drafts after upgrade to 4.0!
- WordPress Version 5 – Another update is currently in progress
- Updating WordPress – the best approach (updating wp core, plugins and db)
- Why won’t my site automatically apply updates after upgrade to 3.7?
- What are the details for function argument wp_update_plugin()
- Changing plugin slug with update
- Necessary user, group and permissions for core updates
- Reverting from a newer version of WordPress to an older version
- After updating wordpress 4.5 my homepage and images not displaying
- How to notify my plugin users about new version releases?
- Show last time WordPress site was updated / modified
- update Semiologic?
- Good methodology for upgrading a large/complex sites?
- Upgrading themes never works
- How can the temporary update directory be changed?
- Unable to update wordpress
- WordPress not showing upgrade to latest version
- Prevent wordpress from updating language files
- Some wp-admin folder file deleted when WordPress upgrade
- Possible to stay on Version 4?
- Worpdress update another update is currently in progress
- Download failed cURL error 7: . Can’t update anything
- Upgrading from 3.5.2 to 3.9.1
- WP 5 upgrade and ALTER TABLE wp_post … post_password
- WP-CLI command to update all plugins and core fails when executed from cron
- WordPress 3.8.1 update error
- What file(s) in core control automatic background updates?
- How can I quickly get a system showing the “Uncaught Error: Class ‘WP_Site_Health’ not found in” up and running again?
- WordPress and plugins can’t update (“inconsistent file permissions” error)?
- Update WordPress – Another update is currently in progress
- WordPress updates being blocked by proxy
- Keep getting update notifcations despite there is nothing to update
- Which directory should be writable to update wordpress?
- Why would a WordPress site go into maintenance mode without me doing anything?
- Increased memory usage after updating to wordpress 4.3
- cannot update wordpress from 3.4.2 to 3.5
- Is it safe to update from 2.6.2 to the newest version?
- Can anything go wrong if I let users change their usernames?
- Where in the backend can I get information about the current WordPress version I am using?
- A shorter way to automatically update WordPress?
- check if WordPress website has updates remotely
- Updating WP 3.9.5 without destroying my website
- After adding mo localization files to WP 3.8.1 install backend shows new update to 3.8.1
- WordPress updates
- Cannot upgrade anything in vps install (migrated wp)
- I tried updating my Live wordpress site to the latest wordpress version (v4.7) and i encountered some issues
- How to keep cache files after plugin update?
- Can an update corrupt my installation?
- What would make the plugin update process to complete but don’t report as such?
- WordPress current version is 5.7.5 but I’m being prompted to “upgrade” to 4.9
- Avoid removal of a file on plugin update
- How to modify last posts block without losing modification on next WP update
- Css path changed after update wordpress to new version
- Disabling forced FTP credentials for any updates
- Parent Theme update was not showing on the update page
- Auto Update A WordPress Plugin from within another WordPress Manager Plugin
- How to force an update of WordPress core to a newer minor version, using the Dashboard?
- What happend if I update my website?
- Remote site behind VPN – how to allow core & plugin updates?
- After WooCommerce-Update fucntion not working anymore
- How to allow theme update downloads to WordPress installs only?
- FS method direct on NGINX
- cannot update ftp credentials even when group owner has write access
- What could have changed all of the ' characters in my content to ' strings?
- update post meta front end
- WordPress Updates 3.5.2 to 3.8 Any Problem? [duplicate]
- Restoring from a Backup after Update
- Avoid loosing changes to theme
- How to update WordPress plugins properly using git?
- add_editor_style not working after upgrade to WP v 6.2
- edit wordpress website automatically from a program