Home › Forums › OS X Server and Client Discussion › Open Directory › reverse DNS issue and NHD creation not working
- This topic has 10 replies, 4 voices, and was last updated 18 years, 7 months ago by
nigelkersten.
-
AuthorPosts
-
May 4, 2006 at 12:45 pm #366110
littlemonkey
ParticipantHi there,
I am running a 10.4.6 on a PM G5.
I have a recuring error in a few of my log files related to a DNS issue. The DNS is run by the central IT of the University here, so DNS is turn off in my server.
What is different is the use of uppercase letter or not…
Did anybody have ever seen such error…
# system.log
May 4 14:02:04 my-server servermgrd: servermgr_dns: gethostbyaddr() and reverse DNS name do not match (my-server.domain.uni-city.de != my-server.domain.UNI-City.DE), various services may not function properly – use changeip to repair and/or correct DNS# console.log
May 4 14:02:04 my-server servermgrd: servermgr_dns: gethostbyaddr() and reverse DNS name do not match (my-server.domain.uni-city.de != my-server.domain.UNI-City.DE), various services may not function properly – use changeip to repair and/or correct DNS# acl.log
[Time 2006.05.04 12:02:04 UTC] [Facility user] [Sender servermgrd] [PID -1] [Message servermgr_dns: gethostbyaddr() and reverse DNS name do not match (my-server.domain.uni-city.de != my-server.domain.UNI-City.DE), various services may not function properly – use changeip to repair and/or correct DNS] [Level 3] [UID -2] [GID -2] [Host my-server]But everything seem to work correctly with the DNS. I did check with the host and changeip commands:
$ sudo changeip -checkhostname
Password:Primary address = 123.123.111.66
Current HostName = my-server.domain.UNI-City.DE
DNS HostName = my-server.domain.UNI-City.DEThe names match. There is nothing to change.
$I also have a problem to create networked home directory (NHD). The button in WGM ‘Create Home Now’ doesn’t work (nothing new here) and the command $ sudo createhomedir -a doesn’t work also, nothing happen…
Any idea?
I know DNS is really important when running OD that why I make this dual subject post. The DNS issue is may be related to the NHD issue.David
May 9, 2006 at 9:05 am #366132Anonymous
GuestI seem to have the same problem, it takes ages to resolve address and even if there an ip. It takes me 5mins for me to check my internal mail even when i use the mail servers ip adress as the mail server.
Is there a way to reset the dns service to default settings the page on apples sight doese not explain it .:
DNS
/etc/named.conf /var/named/*
There will be one file for each forward zone, named like my.domain.com.zone, and a separate file for each reverse zone, named like db.10.1.0. Remove all of these files, but be sure to leave these files:
localhost.zone
named.ca
named.localAny help 🙂
PS It seems that it dose not work since i have upgraded to 10.4.6
ffserver1:/var/named root# sudo changeip -checkhostname
Primary address = 192.168.33.2
Current HostName = ffserver1.familyfuller.com
The DNS hostname is not available, please repair DNS and re-run this tool.
May 9 18:30:08 ffserver1 servermgrd: servermgr_dns: configured name and reverse DNS name do not match (ffserver1.familyfuller.com != services.familyfuller.com), various services may not function properly – use changeip to repair and/or correct DNS
May 9 18:30:11 ffserver1 servermgrd: servermgr_dns: configured name and reverse DNS name do not match (ffserver1.familyfuller.com != services.familyfuller.com), various services may not function properly – use changeip to repair and/or correct DNSMay 24, 2006 at 7:52 pm #366258Ron
ParticipantI’m having the same issue – 10.4.6 introduced case sensitivity to the DNS…
you have to do a changeip to fix the name to match the reverse DNS name…
That said – I’ve done that, and it’s introduced a bunch of other problems now…
I am in hell. 🙁
May 25, 2006 at 3:05 pm #366264sciron
ParticipantIt literraly can not be a Bind (the DNS server in OS/X) or an OS/X issue [i] provided [i] apple did not bork the C library which performs such lookups.
By RFC definition, lookups and processing are case [i]insensitive[i].
Either Apple screwed the pooch on this one, or [more than likely] something else is generating this error.
SRV Records fall under the umbrella of requiring case independance.May 25, 2006 at 3:07 pm #366265sciron
ParticipantOne more thing, to find documentation for Bind and its zone files and configuration information, check with http://www.isc.org , the authors.
May 25, 2006 at 4:34 pm #366268Ron
Participanthttp://docs.info.apple.com/article.html?artnum=303697
today is my 4th business day with no server thanks to this.
👿
May 26, 2006 at 1:29 pm #366275sciron
ParticipantSounds like a great reason to edit /etc/hostconfig.
May 26, 2006 at 1:33 pm #366276sciron
ParticipantWhy can’t I get these all in one response?
Sorry, but here’s what I just noticed:
May 9 18:30:08 ffserver1 servermgrd: servermgr_dns: configured name and reverse DNS name do not match (ffserver1.familyfuller.com != services.familyfuller.com), various services may not function properly – use changeip to repair and/or correct DNS
May 9 18:30:11 ffserver1 servermgrd: servermgr_dns: configured name and reverse DNS name do not match (ffserver1.familyfuller.com != services.familyfuller.com), various services may not function properly – use changeip to repair and/or correct DNSWhich means that, for some reason, your machine (ffserver1) is gettings the name ‘services’ on the ‘familyfuller.com’ domain. This isn’t a case sensitivity issue, it is an issue of an improperly configured DNS server.
If you are doing DHCP and DNS, scrap DHCP in favor of static addressing, until AFTER you get DNS working properly (dynamic updates to Bind are no easy task for the average techie in the beginning, but they are quite easy after you understand the pitfalls).
KISS=Keep It Simple Silly. Don’t load up your configuration with all of the settings until you have verified the operation of a few.May 26, 2006 at 3:37 pm #366282sciron
ParticipantMore…. sorry.
Per https://www.afp548.com/article.php?story=20060503145111816#comments
don’t change that file I mentioned up there, change /etc/hosts instead, to reflect the proper hostname.
September 9, 2006 at 9:09 pm #367008Anonymous
GuestRead what the RFC has to say :
http://www.rfc-archive.org/getrfc.php?rfc=4343
I advise reading the BIND book by O’Reilly. Edting the /etc/hosts file or the /etc/hostconfig file is not the answer.
September 10, 2006 at 6:30 am #367010nigelkersten
ParticipantDefinitely don’t use /etc/hosts as a bandaid for this problem, it will bite you at some point later.
sciron has it right. It’s nothing to do with case-sensitivity, your server simply has the incorrect hostname set for its IP, or incorrect IP for its hostname, depending upon which way you look at it.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed