[TriLUG] DIG and Nameservers

Paul G. Szabady via TriLUG trilug at trilug.org
Fri Feb 17 16:24:45 EST 2017


I guess I'm lucky, it works for me...  Definitely weird.

[paul at at ~]$ dig -t ns rentalventures.com ns0.directnic.com +short
ns0.directnic.com.
ns1.directnic.com.
[paul at at ~]$ dig -t txt rentalventures.com ns0.directnic.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> -t txt 
rentalventures.com ns0.directnic.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20454
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;rentalventures.com.        IN    TXT

;; AUTHORITY SECTION:
rentalventures.com.    86106    IN    SOA    ns0.directnic.com. 
hostmaster.ns0.directnic.com. 1320151988 28800 14400 604800 86400

;; Query time: 28 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Fri Feb 17 16:23:53 2017
;; MSG SIZE  rcvd: 97

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49740
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;ns0.directnic.com.        IN    TXT

;; AUTHORITY SECTION:
directnic.com.        1740    IN    SOA    ns0.directnic.com. 
hostmaster.directnic.com. 1308161459 10800 10 10 1800

;; Query time: 19 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Fri Feb 17 16:23:53 2017
;; MSG SIZE  rcvd: 82

[paul at at ~]$ dig -t mx rentalventures.com ns0.directnic.com +short
5 mx1.emailsrvr.com.
25 mx2.emailsrvr.com.
[paul at at ~]$ rpm -qf /usr/bin/dig
bind-utils-9.8.2-0.47.rc1.el6_8.4.x86_64
[paul at at ~]$ cat /etc/redhat-release
CentOS release 6.8 (Final)
[paul at at ~]$



Paul
@ Thy Service

On 02/17/2017 04:03 PM, Mauricio Tavares via TriLUG wrote:
> On Fri, Feb 17, 2017 at 3:34 PM, Brian McCullough via TriLUG
> <trilug at trilug.org> wrote:
>> I think that I am asking the right questions, but I am not getting the
>> answers that I expect.
>>
>> I started with whois for "rentalventures.com," which is one of our ( my
>> client's ) domain names.
>>
>> Whois says that directnic.com is the Authoritative Nameserver ( a couple
>> of host names at directnic.com ).
>>
>> I log on to their web site, and try to add a TXT record for the SPF
>> record.  Apparently I am successful.
>>
>> I use DIG, and say "dig rentalventures.com any" and get back the SOA
>> record, the two nameserver records, and ONE of the two MX records.
>>
>> The SOA Serial number does not appear to be human-readable, so I can't
>> tell whether my edits made any difference.
>>
>> OK, I have just changed the Priority of each of the two MX records, and,
>> if I do "dig @ns0.directnic.com rentalventures.com any" I see one of the
>> MX records, with the new value.  The SOA serial number has not changed.
>>
>> I know that there are several A records, as well as the TXT record that
>> I added.
>>
>> If I do "dig -t txt ... " it does not respond with anything.
>>
>> If I do "dig -t mx ... " it does not respond with anything different.
>>
>        I've always done
>
> dig some.place.over.there mx
> dig some.place.over.there txt
> dig some.place.over.there soa
>
> But I then tried dig -t mx here and got nothing much back. Weird
>
>> I am sure that I am doing something wrong, but what is it?
>>
>>
>> Thank you,
>> Brian ( one of the other ones! )
>>
>>
>> --
>> This message was sent to: raubvogel at gmail.com <raubvogel at gmail.com>
>> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
>> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>> Unsubscribe or edit options on the web  : http://www.trilug.org/mailman/options/trilug/raubvogel%40gmail.com
>> Welcome to TriLUG: http://trilug.org/welcome



More information about the TriLUG mailing list