도메인을 가지고 있는데요
stk at mail.domain.co.kr 으로 메일을 보내면
제대로 메일이 가는데
stk at domain.co.kr 으로 메일을 보내면
550 5.1.2 <stk at domain.co.kr>... Host unknown (Name server:
domain.co.kr.domain.co.kr.: host not found)
이라는 내용으로 메일이 리턴되네요...
왜 domain.co.kr 을 찾지않고 domain.co.kr.domain.co.kr 을 찾는지... 흑흑...
이것땜에 무지 고생하고 있어요...
네임서버의 문제인것 같은데...
여러가지 파일도 같이 보여드릴께요.
/etc/named.conf 파일 ------------------
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.ca";
};
zone "domain.co.kr" {
type master;
file "domain.zone";
};
zone "0.0.127.in-addr.arpa"{
type master;
file "named.local";
};
zone "57.134.128.in-addr.arpa"{
type master;
file "domain.rev";
};
/var/named/domain.zone 파일 ------------------
@ IN SOA ns.domain.co.kr. stk.orgio.net. (
2000110202 ; serial
21600 ; refresh
1800 ; retry
1209600 ; expire
86400 ; default_ttl
)
;
;
IN NS ns.domain.co.kr.
;
;
IN MX 10 mail
;
;
localhost IN A 127.0.0.1
domain.co.kr. IN A 128.000.00.000 <- 진짜 이건 아닙니다. -_-
ns IN A 128.000.00.000
www IN A 128.000.00.000
mail IN A 128.000.00.000
/etc/mail/sendmail.cf 중 일부 ------------------
#Cwlocalhost
Cwmail.domain.co.kr
# file containing names of hosts for which we receive email
Fw/etc/mail/local-host-names
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
Dj$mail.domain.co.kr
# who I masquerade as (null for no masquerading) (see also $=M)
DMdomain.co.kr
# my name for error messages
DnMAILER_DAEMON
/etc/mail/local-host-names 파일 ------------------
# local-host-names - include all aliases for your machine here.
domain.co.kr
mail.domain.co.kr
이상입니다...
꼭 알려주세요...