Article View: pl.comp.os.linux
Article #895642Re: DNS search - ograniczenia
From: jureq
Date: Thu, 03 Mar 2016 09:12
Date: Thu, 03 Mar 2016 09:12
20 lines
1917 bytes
1917 bytes
Dnia Wed, 02 Mar 2016 22:55:03 +0100, xyz napisał(a): > oto problem, chciałbym do hostów w wielu domenach łączyć się tylko po > użyciu ich nazwy (nazwy są unikalne). > Problem polega na tym że dns search jest ograniczone do 6 domen i 256 > znaków. Czy da się to jakoś obejść? chciałem zastosować taki myk do ok. > 20 domen gdyż ich nazwy są stosunkowo długie i wpisywanie za każdym > razem jest męczące :). > System to Ubuntu. Jeśli liczba hostów jest ograniczona i znane stałe adresy IP to możesz je wpisać do /etc/hosts. Jeśli liczba hostów jest ograniczona i adresy IP mogą się zmieniać, to trzeba postawić na tym ubuntu własny serwer DNS dla domeny np. local. z rekordami cname dla każdego hosta. Żeby uzyskać coś więcej to czytaj np: http://serverfault.com/questions/514646/resolv-conf-search-suffix-limited- to-six-domains-and-256-characters
Technical Details
Message-ID:
<56d7ffef$0$651$65785112@news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!feeder.erje.net!2.eu.feeder.erje.net!ecngs!testfeeder.ecngs.de!81.171.118.64.MISMATCH!peer04.fr7!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mailReferences:
<nb7ngp$68m$1@node1.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!feeder.erje.net!2.eu.feeder.erje.net!ecngs!testfeeder.ecngs.de!81.171.118.64.MISMATCH!peer04.fr7!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail From: jureq <jureq@Xusun.to.z.adresu.Xop.pl> Subject: Re: DNS search - ograniczenia Newsgroups: pl.comp.os.linux References: <nb7ngp$68m$1@node1.news.atman.pl> User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) MIME-Version: 1.0 Date: 03 Mar 2016 09:12:15 GMT Lines: 20 Message-ID: <56d7ffef$0$651$65785112@news.neostrada.pl> Organization: Telekomunikacja Polska NNTP-Posting-Host: lin.kompas.net.pl X-Trace: 1456996335 unt-rea-b-01.news.neostrada.pl 651 212.182.89.10:34694 X-Complaints-To: abuse@news.neostrada.pl X-Received-Bytes: 1680 X-Received-Body-CRC: 700845014 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit