Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
SlimDNSのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
SlimDNS
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:Domain Name System]] [[en:slimDNS]] {{Related articles start}} {{Related|PowerDNS}} {{Related|PostgreSQL}} {{Related articles end}} ゾーンとレコード情報は [[PostgreSQL]] に依存しています。 == インストール == {{AUR|SlimDNS-git}} をインストールするか、[https://github.com/Torxed/slimDNS.git github.com/Torxed/slimDNS] のクローンを作成し、手動のセットアップ手順に従います。 == 手動設定 (オプション) == ''slimdns'' という user/role を作成します [postgres@machine~] createuser --interactive [postgres@machine~] psql > CREATE DATABASE slimdns OWNER slimdns; > ALTER USER slimdns WITH PASSWORD '<some secure random string>'; == Running == [[start]] and [[enable]] {{ic|slimDNS.service}}. Or if preferred, running it manually: # python slimdns.py == Configuration == Configuration is stored under {{ic|/etc/slimDNS/config.py}}, any changes to it requires a restart. SlimDNS comes with a tool to modify the database, it is called {{ic|dnstool}} (subject to name change). The tool takes a series of parameters in order and can create domains (zones) and records. {{Note|Creating a domain, will not set up SOA or NS records by default. However, creating a record will automatically set up a SOA and NS record if the specified domain is not found.}} === Adding a domain (optional) === # python dnstool.py example.com === Adding a A record === # python dnstool.py example.com 46.21.102.81 {{Note|Again, if the domain {{ic|example.com}} did not exist, a domain entry would be inserted and appropriate SOA and NS records will be inserted as well for this new domain.}} You can also add the same record, but define the record type: # python dnstool.py example.com 46.21.102.81 A === Adding a MX record/complex records === Some records have more complex structure, for instance the SRV, MX or TXT records. In order to be generic in handling these records, enclose the content of the record and add all the necessary data needed for the desired record type. # python dnstool.py example.com "46.21.102.81 10" MX This would create a MX record, with a priority or preference of 10. == Handy information == * Updates run time cache every 30 seconds. * Does support a forwarding DNS server, however, testing on this is limited * Upon each start, slimdns will attempt to create the database 'slimdns' if not found, but will need this optional permissions to work. * Might crash for no aparent reason :D
SlimDNS
に戻る。
検索
検索
SlimDNSのソースを表示
話題を追加