public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Bind Problem
@ 2006-03-17 17:33 Hiren Dave
  2006-03-17 17:36 ` Martin Hudec
  0 siblings, 1 reply; 4+ messages in thread
From: Hiren Dave @ 2006-03-17 17:33 UTC (permalink / raw
  To: gentoo-user, VGLUG

[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]

Hi,

I have one problem with bind. I am getting answer from dns server for dig
command but there is no MX entry. Any idea whats wrong? Below is the
configuration file for master zone and dig command ouput is also given.

#######################server1.guru.com.zone##########################
$TTL 86400
@ IN SOA server1.guru.com. root.server1.guru.com. (
    0          ; serial
    300        ; refresh (5 minutes)
    10         ; retry (10 seconds)
    86400      ; expire (1 day)
    600        ; minimum (10 minutes)
    )

@ IN NS server1.guru.com.
@ IN MX 10 server1.guru.com.

server1.guru.com. IN A 192.168.0.2
server2.guru.com. IN A 192.168.0.3
win2k.guru.com.  IN A 192.168.0.1

www1   CNAME server1.guru.com.
www2   CNAME server2.guru.com.
www3   CNAME win2k.guru.com.

@ IN MX 0 server1.guru.com.
server1 IN MX 0 server1.guru.com.
server2 IN MX 0 server1.guru.com.
win2k IN MX 0 server1.guru.com.
#########################END###############################################

########################Dig############################################
[root@server1 ~]#dig server1.guru.com
; <<>> DiG 9.2.4 <<>> server1.guru.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12985
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;server1.guru.com.  IN A

;; ANSWER SECTION:
server1.guru.com. 86400 IN A 192.168.0.2

;; AUTHORITY SECTION:
server1.guru.com. 86400 IN NS server1.guru.com.

;; Query time: 1 msec
;; SERVER: 192.168.0.2#53(192.168.0.2)
;; WHEN: Fri Mar 17 21:16:03 2006
;; MSG SIZE  rcvd: 64
###########################################################################

Thanks,
Hiren

[-- Attachment #2: Type: text/html, Size: 3421 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Bind Problem
  2006-03-17 17:33 [gentoo-user] Bind Problem Hiren Dave
@ 2006-03-17 17:36 ` Martin Hudec
  2006-03-19  5:37   ` Hiren Dave
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Hudec @ 2006-03-17 17:36 UTC (permalink / raw
  To: gentoo-user; +Cc: VGLUG

Hello,

Hiren Dave wrote:
> Hi,
> 
> I have one problem with bind. I am getting answer from dns server for 
> dig command but there is no MX entry. Any idea whats wrong? Below is the 
> configuration file for master zone and dig command ouput is also given.

That is not the issue with bind.

Dig is also working fine, he returned everything required.

For MX to pop up you have to use -t mx, like:

# dig -t mx guru.com


Cheers,
Martin
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Bind Problem
  2006-03-17 17:36 ` Martin Hudec
@ 2006-03-19  5:37   ` Hiren Dave
  2006-03-19 15:09     ` JimD
  0 siblings, 1 reply; 4+ messages in thread
From: Hiren Dave @ 2006-03-19  5:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

Hi,

Thanks for the solution. Now I can see MX entry in dig command. Now the
command "telnet server1.guru.com 25" or "telnet 192.168.0.2 25" is not
working. The error is coming that the is connection refused. But the command
"telnet 127.0.0.1 25" is working correctly. Why is this happening?

Thanks,
Hiren

On 3/17/06, Martin Hudec <corwin@aeternal.net> wrote:
>
> Hello,
>
> Hiren Dave wrote:
> > Hi,
> >
> > I have one problem with bind. I am getting answer from dns server for
> > dig command but there is no MX entry. Any idea whats wrong? Below is the
> > configuration file for master zone and dig command ouput is also given.
>
> That is not the issue with bind.
>
> Dig is also working fine, he returned everything required.
>
> For MX to pop up you have to use -t mx, like:
>
> # dig -t mx guru.com
>
>
> Cheers,
> Martin
> --
> gentoo-user@gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 1485 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Bind Problem
  2006-03-19  5:37   ` Hiren Dave
@ 2006-03-19 15:09     ` JimD
  0 siblings, 0 replies; 4+ messages in thread
From: JimD @ 2006-03-19 15:09 UTC (permalink / raw
  To: gentoo-user

What is the output of this command:

netstat -tap


----- Original Message ----- 
From: Hiren Dave
To: gentoo-user@lists.gentoo.org
Sent: Sunday, March 19, 2006 12:37 AM
Subject: Re: [gentoo-user] Bind Problem


Hi,

Thanks for the solution. Now I can see MX entry in dig command. Now the 
command "telnet server1.guru.com 25" or "telnet 192.168.0.2 25" is not 
working. The error is coming that the is connection refused. But the command 
"telnet 127.0.0.1 25" is working correctly. Why is this happening?

Thanks,
Hiren 


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-19 15:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-17 17:33 [gentoo-user] Bind Problem Hiren Dave
2006-03-17 17:36 ` Martin Hudec
2006-03-19  5:37   ` Hiren Dave
2006-03-19 15:09     ` JimD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox