Home Forums OS X Server and Client Discussion Open Directory reverse DNS issue and NHD creation not working

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #366110
    littlemonkey
    Participant

    Hi 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.DE

    The 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

    #366132
    Anonymous
    Guest

    I 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.local

    Any 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 DNS

    #366258
    Ron
    Participant

    I’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. 🙁

    #366264
    sciron
    Participant

    It 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.

    #366265
    sciron
    Participant

    One more thing, to find documentation for Bind and its zone files and configuration information, check with http://www.isc.org , the authors.

    #366268
    Ron
    Participant

    http://docs.info.apple.com/article.html?artnum=303697

    today is my 4th business day with no server thanks to this.

    👿

    #366275
    sciron
    Participant

    Sounds like a great reason to edit /etc/hostconfig.

    #366276
    sciron
    Participant

    Why 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 DNS

    Which 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.

    #366282
    sciron
    Participant

    More…. 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.

    #367008
    Anonymous
    Guest

    Read 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.

    #367010
    nigelkersten
    Participant

    Definitely 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.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.

Comments are closed