Re: [SLE] Yast: How to add subdomain of my intranet server to DNS?
The Nice Spider wrote:
I have an intranet web server named "office.mydomain.com" with this IP 912.168.0.1, i want to add this entry to DNS. I already add "office.mydomain.com." (ending with period) in the Zone Edit as below: Record Key Type Value office.mydomain.com. A 192.168.0.1
but when I do ping office.mydomain.com the result is the public IP of mydomain.com. how to fixed this?
If you do not own the domain, do not use it internally. Use a domain name that's not used on the internet, such as ".local".
it's my own domain. can you show me how to do it? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
The Nice Spider wrote:
The Nice Spider wrote:
I have an intranet web server named "office.mydomain.com" with this IP 912.168.0.1, i want to add this entry to DNS. I already add "office.mydomain.com." (ending with period) in the Zone Edit as below: Record Key Type Value office.mydomain.com. A 192.168.0.1
but when I do ping office.mydomain.com the result is the public IP of mydomain.com. how to fixed this?
If you do not own the domain, do not use it internally. Use a domain name that's not used on the internet, such as ".local".
it's my own domain. can you show me how to do it?
If I've understood correctly, you have a zonefile for "mydomain.com", in which you want a host defined called "office", such that when you look up "office.mydomain.com" you get 192.168.0.1 ? This is standard nameserver setup, no subdomains involved. Your zonefile (after the SOA and NS records) would need to look like this: $ORIGIN mydomain.com. office 86400 IN A 192.168.0.1 /Per Jessen, Zürich -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (2)
-
Per Jessen
-
The Nice Spider