Skip to content Skip to footer
Phil's Blog Logo Phil's Blog Logo
Menu
  • Blog Home

Day: 5 January 2025

PHP

How to request an A record from a DNS server in PHP 8.3

January 5, 2025 by Philip Newman | Leave a Comment

In PHP 8.3, you can use the dns_get_record() function to query DNS records, including A records. Here’s an example of how to request an A record from a DNS server: Explanation: Example Output: If the domain has A records, the output will look like this:

Read more »

PHP PHP 8.3

PHP

How do I reverse an IP address for use in DNS BL?

January 5, 2025 / January 5, 2025 by Philip Newman | Leave a Comment

Here’s a small function in PHP 8.3 that reverses an IPv4 address: Explanation: This ensures the function works safely and as expected.

Read more »

IP Address PHP 8.2 PHP 8.3
Sidebar

Recent Posts

  • The weather station engineering project
  • How to Supercharge Nginx Performance with FastCGI Caching
  • Why Human‑Written Content Is Best for SEO/GEO for Small Businesses
  • How to Use LLMS.txt for LLM-Friendly Website Content in Markdown
  • How to Integrate XMPP Chat into a Social Network Web Frontend

Categories

  • AI Prompts
  • Dovecot
  • Dribble
  • JavaScript
  • Linux
  • Nginx
  • PHP
  • Postfix
  • Website SEO
  • WooCommerce
  • Wordpress
  • XMPP
© 2026 Phil's Blog