Petro-canada.ca issues

From Federal Burro of Information
Revision as of 14:48, 6 June 2019 by David (talk | contribs) (Created page with " Where I work petro points is a partner. We use one of their online APIs at retail.petro-canada.ca Let me show you something Date: Thu Jun 6 14:37:46 UTC 2019 Basic: $...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Where I work petro points is a partner.

We use one of their online APIs at retail.petro-canada.ca

Let me show you something

Date: Thu Jun 6 14:37:46 UTC 2019

Basic:

$ dig retail.petro-canada.ca +short
156.44.144.39

Name servers?

$ dig petro-canada.ca NS +short
secondary-ns2.allstream.com.
dns1.cidc.telus.com.
dns2.cidc.telus.com.
secondary-ns1.allstream.com.

Intersting, two large canadian providers doing DNS for this domain. From time to time issues arrise beucase not all name server have the same information. Let check that:

$ for i in `dig petro-canada.ca NS +short`; do echo $i; dig @$i retail.petro-canada.ca +short; done
secondary-ns1.allstream.com.

; <<>> DiG 9.10.3-P4-Ubuntu <<>> @secondary-ns1.allstream.com. retail.petro-canada.ca +short
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
secondary-ns2.allstream.com.
156.44.144.39
dns1.cidc.telus.com.
156.44.144.39
dns2.cidc.telus.com.
156.44.144.39

I think found a problem.

there is no NS record for secondary-ns2.allstream.com

That's problematic.

Also let do a whois to se how many of the name servers in the NS record are in the whois record, do they match?

$ whois petro-canada.ca ... Name Server: dns1.cidc.telus.com Name Server: dns2.cidc.telus.com Name Server: ns1.business.allstream.net Name Server: ns2.business.allstream.net ...

So that looks good. Awesome to see them using DNS across providers, this will hopefully protect again failures.

Allstream and Telus are competitors.