syntax

Charles Bodley bodley at tflogic.com
Wed Nov 14 16:31:16 UTC 2001


Thanks for the help, totally missed that. Next question, would * apply to
all records or all other? Wouldn't I still need to add MX records for
anything that's defined.

I.E. Output of dig's for existant and non-existant.

[root at ns /root]# dig bogus.dev.thinkingfolders.com -t MX

; <<>> DiG 9.1.0 <<>> bogus.dev.thinkingfolders.com -t MX
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42975
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;bogus.dev.thinkingfolders.com. IN      MX

;; ANSWER SECTION:
bogus.dev.thinkingfolders.com. 30 IN    MX      10
gloria.internal.tflogic.com.

;; AUTHORITY SECTION:
thinkingfolders.com.    3600    IN      NS      ns2.tflogic.com.
thinkingfolders.com.    3600    IN      NS      ns.tflogic.com.

;; ADDITIONAL SECTION:
ns.tflogic.com.         300     IN      A       216.68.75.100
ns2.tflogic.com.        300     IN      A       216.68.75.101

;; Query time: 3 msec
;; SERVER: 216.68.75.100#53(216.68.75.100)
;; WHEN: Wed Nov 14 11:29:30 2001
;; MSG SIZE  rcvd: 154

[root at ns /root]# dig login.dev.thinkingfolders.com -t mx

; <<>> DiG 9.1.0 <<>> login.dev.thinkingfolders.com -t mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44192
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;login.dev.thinkingfolders.com. IN      MX

;; ANSWER SECTION:
login.dev.thinkingfolders.com. 30 IN    CNAME
login-a.dev.thinkingfolders.com.

;; AUTHORITY SECTION:
thinkingfolders.com.    3600    IN      SOA     thinkingfolders.com.
hostmaster.cyberset.com. 2001111402 43200 7200 1209600 3600

;; Query time: 3 msec
;; SERVER: 216.68.75.100#53(216.68.75.100)
;; WHEN: Wed Nov 14 11:29:57 2001
;; MSG SIZE  rcvd: 125
-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Barry Margolin
Sent: Wednesday, November 14, 2001 11:05 AM
To: comp-protocols-dns-bind at moderators.isc.org
Subject: Re: syntax


In article <9su4a7$6vj at pub3.rc.vix.com>,
Charles Bodley <bodley at tflogic.com> wrote:
>
>Is this the correct syntax to specify a MX record for a sub domain?
>granted gloria.internal.tflogic.com will not respond it is internal.
>Yet my dig response did not include this. the answer.
>What I want is MX queries for *.dev.thinkingfolders.com to resolve to
>gloria.internal.tflogic.com What would this syntax be?

$ORIGIN dev.thinkingfolders.com.
*   MX   10 gloria.internal.tflogic.com.

You left out the "*".  A line that begins with whitespace is another record
for the name on the previous line, so you defined an MX record for
login-b.dev.thinkingfolders.com.

>$ORIGIN dev.thinkingfolders.com.
>$TTL 30 ; 30 seconds
>
>login-a         A       216.68.75.194
>login-b         A       216.68.75.202
>                        MX      10 gloria.internal.tflogic.com.
>
>


--
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the
group.





More information about the bind-users mailing list