PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Was muss ich unter debian woody für dns und bind installieren??



sklasse
04.03.03, 19:22
hallo

ich habe mir gerade bind installiert mit apt was muss ich noch installieren um einen dns server installieren und konfigurieren zu können??????

hofe ihr könnt einem anfänger helfen........

gruss

Berufspenner
04.03.03, 19:25
Hi

Eigentlich sollte das schon ausreichen.

Cu
André

sklasse
04.03.03, 19:32
werde es mal probieren ob ich es hinbekomme ...aber müsste da net noch ein verzeichnis in /etc sein

/etc/dns????
/etc/bnd gibt es

Berufspenner
04.03.03, 19:36
Hi

Also ich habe unter Debian /etc/bind. Wie hast du bind denn installiert?

Cu
André

sklasse
04.03.03, 19:40
das bind hab ich auch......langt das??

habe bind
bind host
webmin bind8


die habe ich alle installiert ist das ok so???

und das ist in /etc/bind drinnen

shaft:/home/daniela# cd /etc/bind/
. .. db.0 db.127 db.255 db.local db.root named.conf rndc.key
shaft:/etc/bind#

Berufspenner
04.03.03, 19:42
Hi

Ja das sollte reichen.

Cu
André

sklasse
04.03.03, 19:56
und zwar ich habe mir senmail installiert

und dann kommt diese meldung was heisst das


Start sendmail now? (Y/n)


Starting Mail Transport Agent: Sendmailsendmail has not been configured, not started.
To configure sendmail, type sendmailconfig
invoke-rc.d: initscript sendmail, action "start" failed.
dpkg: Fehler beim Bearbeiten von sendmail (--configure):
Unterprozess post-installation script gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
sendmail
E: Sub-process /usr/bin/dpkg returned an error code (1)
shaft:/etc/bind#

weiss du was net stimmt???

termito
04.03.03, 20:25
Hat dein sendmail zuvor funktioniert?
wenn ja was hast du in dieser Zeit alles getan?
Versuch vielleicht mal postfix aus Testzwecken zu installieren.

sklasse
04.03.03, 20:44
ich hab es jetzt installiert und musste sachen eingeben,,,,warte mal


Debian Configuration




?????????????????????????? Configuring Libhesiod0 ??????????????????????????
? Hesiod looks up keys using the standard Domain Name System. Enter the ?
? right-hand side of the domain name to do searches in. This name should ?
? begin with a ".". ?
? ?
? Hesiod domain for searches ?
? ?
? .athena.mit.edu___________________________________ ______________________ ?
? ?
? <Ok> ?
?





A new sendmail user, welcome!

*** WELCOME ***.................*** WELCOME ***.................*** WELCOME ***


1: .................................................. ...
Sendmail is a powerful MTA, and you may find the sendmail-doc package
useful in the configuration phase. You should find even the few files
in /usr/share/doc/sendmail useful - they note recent Sendmail and Debian
changes, along with information on the features present in this package.

Press [ENTER] to continue


chown: »root:smmsp«: ungültige Gruppe
chown: »smmsp:smmsp«: ungültiger Benutzer
adduser: Warning: The home dir you specified already exists.
Saving current /etc/mail/sendmail.mc,cf to /var/backups

You are doing a new install, or have erased /etc/mail/sendmail.mc.
If you've accidentaly erased /etc/mail/sendmail.mc, check /var/backups.

Sendmail will not start until it is configured.
Do you wish to configure sendmail now, or wait until later?

Configure now ? (y/N)

Sendmail Configuration
----------------------
By answering the following questions, you can configure sendmail for your
system. Default values are determined either by your existing configuration
or from common usage.

Press [ENTER]

Mail Name
---------
Your `mail name' is the hostname portion of the address to be shown on
outgoing news and mail messages (following the username and @ sign). This
name will be used by other programs besides sendmail; it should be the single,
full domain name (FQDN) from which mail will appear to originate.

Mail name? [shaft]

Null Client
-----------
A special configuration known as the "null client" can be created for this
host if all mail should be forwarded to a central hub via a local SMTP-based
network. This may be a suitable configuration if you want to forward all of
your mail to your local Internet service provider (ISP) for delivery.

To enable this option, give the name of the host to which all mail should be
forwarded. Otherwise leave the option empty to disable it.

Null client forward host? []


Smart Host
----------
A "Smart Host" is one that can deliver mail to external machines. By using
a "Smart Host", we don't need DNS, or good connectivity ourselves. This is
most likely what you want if you have a dialup link, or sit behind a firewall.

To enable this option, give the name of the host to which all non-local mail
should be forwarded. Otherwise leave the option empty.

Smart Host:? []


Address Canonification
----------------------
Usually sendmail will canonify all addresses by consulting a name server and
resolving hosts to their fully qualified domain name (FQDN). Under special
circumstances you may want to disable this feature, for example if this
machine acts only as a mail gateway.

Disable address canonification? [N]


SMTP Mailer
-----------
If you plan to exchange mail with other computers, you should enable the
SMTP mailer. Even if you don't plan to exchange mail with other computers,
it is still a good idea to enable this so local programs can use it.

Enable the SMTP mailer? [Y]




Masquerade Envelope
-------------------
If you want mail envelopes (as well as mail headers) to appear to come from
`shaft', you can enable this option.

Masquerade envelopes? [Y]



All Masquerade
--------------
If enabled, this feature will cause recipient addresses to also appear to come
from `shaft'. Normally they get the local hostname.
Although this may be right for ordinary users, it can break local aliases. For
example, if you send to "localalias", the originating sendmail will find that
alias and send to all members, but send the message with
"To: localalias@shaft". Since that alias likely does
not exist, replies will fail. Use this feature ONLY if you can guarantee that
the ENTIRE namespace of `shaft' supersets all the
local entries. If in doubt, it is safe to leave this option disabled.

All masquerade? [N]

Dont masquerade mail to local users
-----------------------------------
Send mail to local recipients without masquerading.

Dont masquerade local? [N]

Always Add Domain
-----------------
If enabled, the local host domain is included even on locally delivered mail.
Normally it is not added unless it is already present.

Always add domain? [N]

Mail Acceptance
---------------
Sendmail is usually configured to accept mail for your mail name
(shaft). However, under special circumstances you
may not wish sendmail to do this, particularly if (and disabling this option
generally requires that) mail for `shaft' is MXed
to another host. If in doubt, it is safe to leave this option enabled.

Accept mail for `shaft'? [Y]


Alternate Names
---------------
In addition to the canonical mail name `shaft', you can
add any number of additional alternate names to recognize for receiving mail.
If other hosts are MXed to you for local mail, this is where you should list
them. This list is saved into the file /etc/mail/local-host-names
so it can be changed later as needed.

To answer this question, separate each alternate name with a space, or answer
`NONE' to eliminate all alternate names.

Alternate names? []

Trusted Users
-------------
Sendmail allows a special group of users to set their envelope "From" address
using the -f option without generating a warning message. If you have
software such as Majordomo installed, you will want to include the usernames
from such software here. Note that "root", "daemon", and "uucp" are included
automatically and do not need to be specified. This list is saved into the
file /etc/mail/trusted-users so it can be changed later as needed.

To answer this question, separate each username with a space, or answer
`NONE' to eliminate all usernames.

Trusted users? []


Redirect Feature
----------------
If enabled, this feature will allow you to alias old names to
<new-address>.REDIRECT, causing sendmail to return mail to the sender with
an error but indicating the recipient's new address.

Enable redirect option? [N]


UUCP Addresses
--------------
Sendmail can be configured to be smart about UUCP addresses, or it can do
nothing special with UUCP addresses at all. If you care about UUCP, you will
need to do some additional configuration, perhaps outside of this script.

*** NOTE *** If you use a smart host or do any kind of forwarding (ie
LUSER_RELAY and LOCAL_RELAY), it is important that you say "Yes"
here to prevent a multi-level relay hole - unless you know for *SURE* that
your smart-host does not deal with UUCP addresses.

(Be safe and just say Y)

Enable UUCP addressing? [Y]

Sticky Host
-----------
If enabled, mail sent to `user@shaft' is marked as
"sticky" -- that is, the local addresses aren't matched against UDB and don't
go through ruleset 5. This is used if you want a setup where `user' is not
necessarily the same as `user@shaft', e.g., to make
a distinct domain-wide namespace. If in doubt, it is safe to leave this
option disabled.

Enable sticky host option? [N]


DNS
---
If you are directly connected to the Internet and have access to a domain
name server, you should enable this option.

Enable DNS? [Y]


Best MX is Local
----------------
If enabled, this option will cause sendmail to accept mail as though locally
addressed for any host that lists this machine as the best possible MX record.
This generates additional DNS traffic, but should be OK for low-to-medium
traffic hosts. N.B.: This feature is fundamentally incompatible with wildcard
MX records. If you have a wildcard MX record that matches your domain, you
cannot use this feature.

Assume best MX is local? [N]


Mailertable
-----------
If enabled, this option causes sendmail to read mail routing rules from
the text file /etc/mail/mailertable. This is needed for unusual mailers like
ifmail and fax programs.
More information is in /usr/share/doc/sendmail-doc/op/op.txt.gz.

Enable the mailertable feature? [N]


Sendmail Restricted Shell
-------------------------
If enabled, this option causes sendmail to use the sendmail restricted shell
program (smrsh) instead of /bin/sh for mailing to programs. This improves your
ability to control what gets run via email; only those programs which appear
in a special directory can be run. If you enable this option, please carefully
read the smrsh(8) man page for further information.

Use the Sendmail Restricted Shell (smrsh)? [Y]


Mailer Name
-----------
You can change the name used for internally generated outgoing messages.
Usually this is `MAILER-DAEMON' but it would not be unreasonable to change
it to something such as `postmaster'.

Mailer name? [MAILER-DAEMON]


Me Too
------
Sendmail normally excludes the sender address from group expansion. Enabling
this option will cause the sender to be included.

Enable me too option? [N]


Message Timeouts
----------------
Sendmail will issue a warning message to the sender if it can't deliver a
message within a reasonable amount of time. It will also send a failure
notification and give up trying to deliver the message if it can't deliver it
after an unreasonable amount of time.

You can configure the message timeouts after which warning and failure
notifications are sent. Sendmail's defaults are 4 hours and 5 days (4h/5d),
respectively, but many people feel warnings after only 4 hours are premature.

Message timeouts? [4h/5d]

Configuration Complete
----------------------
Advanced configuration, such as alternate mailers, the use of mailertables,
Bitnet domains, and UUCP domains can be accomplished by manually editing the
/etc/mail/sendmail.mc configuration file and rerunning
`/usr/sbin/sendmailconfig' to generate the appropriate /etc/mail/sendmail.cf
file. (Local changes made at the end of /etc/mail/sendmail.mc
will be preserved by `/usr/sbin/sendmailconfig'.)

The m4 library files for sendmail configuration are kept in the
/usr/share/sendmail/cf directory. You may wish to review the
documentation in /usr/share/doc/sendmail to assist in further customization.

You may wish to customize your alias database; see the aliases(5) man page
for information on the format and use of the /etc/aliases file.


Start sendmail now? (Y/n)


Starting Mail Transport Agent: Sendmailsendmail has not been configured, not started.
To configure sendmail, type sendmailconfig
invoke-rc.d: initscript sendmail, action "start" failed.
dpkg: Fehler beim Bearbeiten von sendmail (--configure):
Unterprozess post-installation script gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
sendmail
E: Sub-process /usr/bin/dpkg returned an error code (1)
shaft:/etc/bind#





shaft:/etc/bind# sendmailconfig
Configure sendmail with the existing /etc/mail/sendmail.conf? [Y] Y
/usr/sbin/sendmailconfig: /usr/sbin/update_conf: Datei oder Verzeichnis nicht gefunden
Correct /etc/mail/sendmail.conf before continuing.
shaft:/etc/bind#



das hab ich so eingegeben...stimmt vielleicht was net?

termito
05.03.03, 07:08
Möglicherweise hast du auch ne defekte Partition. Versuch sie mal zu reparieren.
bei ext2 mit "e2fsck"

Mounte dein System mit einem Rettungsdiskette bzw. cd und führe e2fsck aus
z.B.
# e2fsck -cv /dev/hda2