Running on www.bismarckweather.net (107.180.48.113)
PHP Version: 8.3.6

Contents of /etc/resolv.conf nameserver specification

# Generated via Puppet 
options rotate
nameserver 10.255.250.30
nameserver 10.255.251.30

dns_get_record("tgftp.nws.noaa.gov", DNS_A) returns:

array (
  0 => 
  array (
    'host' => 'tgftp.cp.ncep.noaa.gov',
    'class' => 'IN',
    'ttl' => 1071,
    'type' => 'A',
    'ip' => '140.90.101.79',
  ),
)

gethostbyname("tgftp.nws.noaa.gov") returns: '140.90.101.79'

Output of 'curl -v https://tgftp.nws.noaa.gov/data/observations/metar/stations/KSJC.TXT 2>&1' command

* About to connect() to tgftp.nws.noaa.gov port 443 (#0)
*   Trying 140.90.101.79... connected
* Connected to tgftp.nws.noaa.gov (140.90.101.79) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* 	subject: CN=nws.noaa.gov
* 	start date: Nov 28 14:22:44 2023 GMT
* 	expire date: Dec 22 17:39:10 2024 GMT
* 	common name: nws.noaa.gov
* 	issuer: CN=Go Daddy Secure Certificate Authority - G2,OU=http://certs.godaddy.com/repository/,O="GoDaddy.com, Inc.",L=Scottsdale,ST=Arizona,C=US
> GET /data/observations/metar/stations/KSJC.TXT HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.44 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: tgftp.nws.noaa.gov
> Accept: */*
> 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0< HTTP/1.1 200 OK
< Date: Sun, 05 May 2024 12:37:12 GMT
< Server: Apache
< X-Frame-Options: SAMEORIGIN
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Last-Modified: Sun, 05 May 2024 11:56:09 GMT
< Accept-Ranges: bytes
< Content-Length: 119
< Vary: Accept-Encoding
< Content-Type: text/plain; charset=UTF-8
< Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
< 
{ [data not shown]

119   119  119   119    0     0    764      0 --:--:-- --:--:-- --:--:-- 10818* Connection #0 to host tgftp.nws.noaa.gov left intact

* Closing connection #0
2024/05/05 11:53
KSJC 051153Z AUTO 29003KT 10SM CLR 09/04 A2998 RMK AO2 SLP152 60001 70067 T00890044 10111 20089 53008