BAD (HORIZONTAL) REFERRAL when no A record exists #3

Open
opened 2017-12-14 16:51:40 +00:00 by coolaj86 · 0 comments
Owner

Action

This is what I did:

dig +trace oneal.im

Expected Result

What was expected:

return SOA record

oneal.im.		1800	IN	SOA	ns1.coolaj86.com. hostmaster.coolaj86.com. 1513269948 10800 3600 604800 1800

Actual Result

This is what the result was:

oneal.im.		300	IN	NS	ns1.coolaj86.com.
oneal.im.		300	IN	NS	ns2.coolaj86.com.
;; BAD (HORIZONTAL) REFERRAL
;; Received 86 bytes from 162.243.136.134#53(162.243.136.134) in 23 ms

This is what the json file looked like:

{ "primaryNameservers": [ "ns1.coolaj86.com", "ns2.coolaj86.com" ]
, "domains": [
    { "id": "hellabit.com", "revokedAt": 0, "vanityNs": [ "ns1.hellabit.com", "ns2.hellabit.com" ] }
  , { "id": "coolaj86.com", "revokedAt": 0 }
  , { "id": "oneal.im", "revokedAt": 0 }
  , { "id": "the.dj", "revokedAt": 0 }
  ]
, "records": [

    {"zone":"oneal.im","name":"oneal.im","type":"NS","class":"IN","ttl":300,"tld":"im","sld":"oneal","sub":"ns1","data":"ns1.coolaj86.com"}
  , {"zone":"oneal.im","name":"oneal.im","type":"NS","class":"IN","ttl":300,"tld":"im","sld":"oneal","sub":"ns2","data":"ns2.coolaj86.com"}

  , {"zone":"oneal.im","name":"ns1.oneal.im","type":"A","class":"IN","ttl":300,"tld":"im","sld":"oneal","sub":"ns1","address":"138.197.72.1"}
  , {"zone":"oneal.im","name":"ns2.oneal.im","type":"A","class":"IN","ttl":300,"tld":"im","sld":"oneal","sub":"ns2","address":"162.243.136.134"}



  , {"zone":"oneal.im","name":"oneal.im","type":"TXT","class":"IN","ttl":4200,"tld":"im","sld":"oneal","sub":"","data":["v=spf1 include:mailgun.org ~all"]}
  , {"zone":"oneal.im","name":"mailo._domainkey.oneal.im","type":"TXT","class":"IN","ttl":4200,"tld":"im","sld":"oneal","sub":"mailo._domainkey","data":["k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC8H89rCYNYLd9ucZWKTZWUKX6jYosseVZWlo5HNIsmbgp05roHuZca3D0nq5C8ILT5SHYLmHtEIDj8S+XZ6GqUrKu/F98TUnTzm9/uGRGAnU3vgQ44tVwG+R9XlJ14E+jXFU/Hs8p1PPsZM0+cHHyCt2XF+DkzNkN+9FO7SRIBnQIDAQAB"]}
  , {"zone":"oneal.im","name":"oneal.im","type":"MX","class":"IN","ttl":7200,"tld":"im","sld":"oneal","sub":"","exchange":"mxa.mailgun.org","priority":10}
  , {"zone":"oneal.im","name":"oneal.im","type":"MX","class":"IN","ttl":7200,"tld":"im","sld":"oneal","sub":"","exchange":"mxb.mailgun.org","priority":10}
  , {"zone":"oneal.im","name":"email.oneal.im","type":"CNAME","class":"IN","ttl":7200,"tld":"im","sld":"oneal","sub":"email","data":"email.mailgun.org"}
  ]
}

Workaround

I fixed it by adding this record:

  , {"zone":"oneal.im","name":"oneal.im","type":"A","class":"IN","ttl":600,"tld":"im","sld":"oneal","sub":"","address":"45.56.59.142"}
Action ---- This is what I did: ```bash dig +trace oneal.im ``` Expected Result ---- What was expected: return SOA record ``` oneal.im. 1800 IN SOA ns1.coolaj86.com. hostmaster.coolaj86.com. 1513269948 10800 3600 604800 1800 ``` Actual Result ---- This is what the result was: ``` oneal.im. 300 IN NS ns1.coolaj86.com. oneal.im. 300 IN NS ns2.coolaj86.com. ;; BAD (HORIZONTAL) REFERRAL ;; Received 86 bytes from 162.243.136.134#53(162.243.136.134) in 23 ms ``` This is what the json file looked like: ```js { "primaryNameservers": [ "ns1.coolaj86.com", "ns2.coolaj86.com" ] , "domains": [ { "id": "hellabit.com", "revokedAt": 0, "vanityNs": [ "ns1.hellabit.com", "ns2.hellabit.com" ] } , { "id": "coolaj86.com", "revokedAt": 0 } , { "id": "oneal.im", "revokedAt": 0 } , { "id": "the.dj", "revokedAt": 0 } ] , "records": [ {"zone":"oneal.im","name":"oneal.im","type":"NS","class":"IN","ttl":300,"tld":"im","sld":"oneal","sub":"ns1","data":"ns1.coolaj86.com"} , {"zone":"oneal.im","name":"oneal.im","type":"NS","class":"IN","ttl":300,"tld":"im","sld":"oneal","sub":"ns2","data":"ns2.coolaj86.com"} , {"zone":"oneal.im","name":"ns1.oneal.im","type":"A","class":"IN","ttl":300,"tld":"im","sld":"oneal","sub":"ns1","address":"138.197.72.1"} , {"zone":"oneal.im","name":"ns2.oneal.im","type":"A","class":"IN","ttl":300,"tld":"im","sld":"oneal","sub":"ns2","address":"162.243.136.134"} , {"zone":"oneal.im","name":"oneal.im","type":"TXT","class":"IN","ttl":4200,"tld":"im","sld":"oneal","sub":"","data":["v=spf1 include:mailgun.org ~all"]} , {"zone":"oneal.im","name":"mailo._domainkey.oneal.im","type":"TXT","class":"IN","ttl":4200,"tld":"im","sld":"oneal","sub":"mailo._domainkey","data":["k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC8H89rCYNYLd9ucZWKTZWUKX6jYosseVZWlo5HNIsmbgp05roHuZca3D0nq5C8ILT5SHYLmHtEIDj8S+XZ6GqUrKu/F98TUnTzm9/uGRGAnU3vgQ44tVwG+R9XlJ14E+jXFU/Hs8p1PPsZM0+cHHyCt2XF+DkzNkN+9FO7SRIBnQIDAQAB"]} , {"zone":"oneal.im","name":"oneal.im","type":"MX","class":"IN","ttl":7200,"tld":"im","sld":"oneal","sub":"","exchange":"mxa.mailgun.org","priority":10} , {"zone":"oneal.im","name":"oneal.im","type":"MX","class":"IN","ttl":7200,"tld":"im","sld":"oneal","sub":"","exchange":"mxb.mailgun.org","priority":10} , {"zone":"oneal.im","name":"email.oneal.im","type":"CNAME","class":"IN","ttl":7200,"tld":"im","sld":"oneal","sub":"email","data":"email.mailgun.org"} ] } ``` Workaround ---- I fixed it by adding this record: ``` , {"zone":"oneal.im","name":"oneal.im","type":"A","class":"IN","ttl":600,"tld":"im","sld":"oneal","sub":"","address":"45.56.59.142"} ```
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coolaj86/digd.js#3
No description provided.