DNS questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey, all

I am trying to setup a mailserver on a new internet connection. The domain has been registered, and I have a static IP. If I try and send mail to the new domain, the mail bounces, and I get a message like:

Recipient address: me@newdomain.com
Reason: Remote SMTP server has rejected address
Diagnostic code: smtp;550 5.7.1 <me@newdomain.com>... Relaying denied
Remote system: dns;mail.newdomain.com (TCP|151.164.30.29|36974|XX.XX.XX.XX|25) (tux.newdomain.com ESMTP Sendmail 8.12.5/8.12.5; Fri, 3 Jan 2003 10:06:28 -0600)

from my MUA, and in the maillog on the mail server I get:

reject=550 5.7.1 <me@newdomain.com>... Relaying denied

The ISP has setup the IP to resolve to the newdomain name, and I had them enter an MX record for the mailserver, but they don't have an entry for reverse DNS. Doing a dig command:

]# dig newdomain.com ANY

; <<>> DiG 9.2.1 <<>> newdomain.com ANY
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62829
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;newdomain.com. IN ANY

;; ANSWER SECTION:
newdomain.com. 142643 IN NS NAMESERVER1.MYISP.NET.
newdomain.com. 142643 IN NS NAMESERVER2.MYISP.NET.
newdomain.com. 20551 IN SOA nameserver1.newdomain.com. hostmaster.nameserver1.newdomain.com. 2002121205 3600 900 1209600 43200

;; AUTHORITY SECTION:
newdomain.com. 142643 IN NS NAMESERVER1.MYISP.NET.
newdomain.com. 142643 IN NS NAMESERVER2.MYISP.NET.

;; ADDITIONAL SECTION:
NAMESERVER1.MYISP.NET. 53126 IN A XX.XX.XX.XX1
NAMESERVER2.MYISP.NET. 53126 IN A XX.XX.XX.XX2

;; Query time: 46 msec
;; SERVER: 151.164.11.201#53(151.164.11.201)
;; WHEN: Fri Jan 3 10:18:38 2003
;; MSG SIZE rcvd: 214

---------------------------------------------------------------------------------



I am new to setting up DNS, so my questions are:

1. Does the ISP need to setup reverse DNS and make an address entry for nameserver1.newdomain.com.?

Or, should I setup DNS locally to do this?

2. If I setup DNS locally, how can I get incoming DNS queries to use my DNS?


Thanks for your help, in advance.

RK









--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux