Jump to content
Froxlor Forum
  • 0

SRV mit Service und Protokoll


tt33tt

Question

Hallo alle zusammen,

ich möchte einen SRV-Eintrag im DNS-Editor konfigurieren: https://docs.microsoft.com/de-de/office365/admin/get-help-with-domains/create-dns-records-at-any-dns-hosting-provider?redirectSourcePath=%252farticle%252f7b7b075d-79f9-4e37-8a9e-fb60c1d95166&view=o365-worldwide#add-two-srv-records

Leider akzeptiert er Service und Protokoll nicht. Meines Wissens muss ich die aber wie unten in den Domainnamen einbauen.

Es sollte aussehen:

Record: @

Type: SRV

Priority: 100

Content: 1 443 _sip._tls.sipdir.online.lync.com

TTL: 3600

 

Fehler: Der Wert des SRV Eintrags muss ein gültiger Domainname sein

Wie kann ich Service und Protokoll in den Eintrag einbauen?

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 1

Naja, deine SRV Einträge sind auch falsch :)

- @       3600    IN      SRV     100     1 443 _sip._tls.sipdir.online.lync.com.
- @       3600    IN      SRV     100     1 5061 _sipfederationtls._tcp.sipfed.online.lync.com.

+ _sip._tls       3600    IN      SRV     100     1 443 sipdir.online.lync.com.
+ _sipfederationtls._tcp       3600    IN      SRV     100     1 5061 sipfed.online.lync.com.

Siehe Auszug aus der Doku die du im ersten Post gelinkt hast:

Quote

Für Service und Protokoll: Wenn Ihr DNS-Host diese Felder nicht für SRV-Einträge bereitstellt, müssen Sie die Dienst -und Protokoll Werte als Name -Wert des Datensatzes angeben

 

Link to comment
Share on other sites

  • 0

Hm, immer wenn ich die Einstellungen mit SRV und dem Unterstrich setze, dann beantwortet bind keine Anfragen mehr von außen bezogen auf die Domains, die in Froxlor eingetragen sind.
Er schreibt die Zone-Dateien korrekt.

 

//edit: das Steht in der Datenbank:

 

 

 

               
            SRV 1 443 _sip._tls.sipdir.online.lync.com. 3600 100
            SRV 1 5061 _sipfederationtls._tcp.sipfed.online.lync.com. 3600

100

                    Kann das sein, dass Bind mit dem Format nicht zurechtkommt?
Link to comment
Share on other sites

  • 0

1. Problem: Die Zone ist richtig, siehe unten. Aber trotzdem übernimmt er das nicht in den Bind.

# Domain ID: 123 - CustomerID: x - CustomerLogin: username
zone "mzlw.de" in {
        type master;
        file "/etc/bind/domains/mzlw.de.zone";
        allow-query { any; };
        allow-transfer {
                109.75.177.194;
                192.174.68.104;
                176.97.158.104;
                46.165.212.97;
                95.211.1.145;
                185.181.104.96;
        };
};

 

$TTL 604800
$ORIGIN mzlw.de.
@       18000   IN      SOA     cloud.rainerwiederstein.de. info.rainerwiederstein.de. 2019100206 3600 900 604800 1200
docs    3600    IN      CNAME   ghs.google.com.
kalender        3600    IN      CNAME   ghs.google.com.
mail    3600    IN      CNAME   ghs.google.com.
@       3600    IN      MX      1       ASPMX.L.GOOGLE.COM.
@       3600    IN      MX      5       ALT1.ASPMX.L.GOOGLE.COM.
@       3600    IN      MX      5       ALT2.ASPMX.L.GOOGLE.COM.
@       18000   IN      A       109.75.177.194
www     18000   IN      A       109.75.177.194
mahara  18000   IN      A       109.75.177.194
*.mahara        18000   IN      A       109.75.177.194
moodle  18000   IN      A       109.75.177.194
*.moodle        18000   IN      A       109.75.177.194
pad     18000   IN      A       109.75.177.194
*.pad   18000   IN      A       109.75.177.194
testmoodle      18000   IN      A       109.75.177.194
*.testmoodle    18000   IN      A       109.75.177.194
piwik   18000   IN      A       109.75.177.194
*.piwik 18000   IN      A       109.75.177.194
@       18000   IN      NS      cloud.rainerwiederstein.de.
@       18000   IN      NS      ns.inwx.de.
@       18000   IN      NS      ns2.inwx.de.
@       18000   IN      NS      ns3.inwx.eu.
@       18000   IN      NS      ns4.inwx.com.
$TTL 604800
$ORIGIN cloud.mzlw.de.
@       18000   IN      A       109.75.177.194
www     18000   IN      A       109.75.177.194
@       18000   IN      MX      10      ASPMX.L.GOOGLE.COM.
@       18000   IN      MX      20      ALT1.ASPMX.L.GOOGLE.COM.
@       18000   IN      MX      20      ALT2.ASPMX.L.GOOGLE.COM.
@       18000   IN      MX      30      ASPMX2.GOOGLEMAIL.COM.
@       18000   IN      MX      30      ASPMX3.GOOGLEMAIL.COM.
@       18000   IN      MX      30      ASPMX4.GOOGLEMAIL.COM.
@       18000   IN      TXT     "v=spf1 a mx include:servers.mcsv.net include:_spf.google.com -all"
dkim_30._domainkey      18000   IN      TXT     ("v=DKIM1;h=sha256;k=rsa;p=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
                                "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;t=s")


_adsp._domainkey        18000   IN      TXT     "dkim=all"
$TTL 604800
$ORIGIN ms.mzlw.de.
@       18000   IN      TXT     "MS=ms43863289"
@       18000   IN      MX      0       ms-mzlw-de.mail.protection.outlook.com.
@       3600    IN      TXT     "v=spf1 include:spf.protection.outlook.com -all"
autodiscover.ms 3600    IN      CNAME   autodiscover.outlook.com.
sip.ms  3600    IN      CNAME   sipdir.online.lync.com.
lyncdiscover.ms 3600    IN      CNAME   webdir.online.lync.com.
enterpriseenrollment.ms 3600    IN      CNAME   enterpriseenrollment.manage.microsoft.com.
enterpriseregistration.ms       3600    IN      CNAME   enterpriseregistration.windows.net.
@       3600    IN      SRV     100     1 443 _sip._tls.sipdir.online.lync.com.
@       3600    IN      SRV     100     1 5061 _sipfederationtls._tcp.sipfed.online.lync.com.
@       18000   IN      A       109.75.177.194
*       18000   IN      A       109.75.177.194
dkim_44._domainkey      18000   IN      TXT     ("v=DKIM1;h=sha256;k=rsa;xxxxxxxxxxxxxxxxxxxxxx"
                                "xxxxxxxxxxxxxxxxxxxxxx;t=s")
_adsp._domainkey        18000   IN      TXT     "dkim=all"

Ichhabe das ganze mit named-checkzone überprüft und Fehler erhalten:

root@1234567-1:~# named-checkzone mzlw.de /etc/bind/domains/mzlw.de.zone
/etc/bind/domains/mzlw.de.zone:45: TTL set to prior TTL (18000)
/etc/bind/domains/mzlw.de.zone:51: warning: _sip._tls.sipdir.online.lync.com: bad name (check-names)
/etc/bind/domains/mzlw.de.zone:52: warning: _sipfederationtls._tcp.sipfed.online.lync.com: bad name (check-names)
zone mzlw.de/IN: ms.mzlw.de/SRV '_sip._tls.sipdir.online.lync.com' (out of zone) has no addresses records (A or AAAA)
zone mzlw.de/IN: ms.mzlw.de/SRV '_sipfederationtls._tcp.sipfed.online.lync.com' (out of zone) has no addresses records (A or AAAA)
zone mzlw.de/IN: loaded serial 2019100400
OK

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...