Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

BIND9 DNS: kleine Frage

Empfohlene Antworten

hi

hab mir einen BIND9 DNS aufgesetzt, ich möchte das mein webserver über die domain http: //www.example.com erreichbar ist.

bin ziemlich weit bisher.

Ich kann auf meinem rechner wo der DNS läuft im browser http ://example.com und http ://www.example.com aufrufen und komme auf meine gewünschte lokale website

Von einem anderen rechner in meinem lokalen netzwerk erreiche ich den webserver nur über http ://example.com , jedoch nicht über http: //www.example.com

Was muss ich an meiner Konfiguration(siehe unten) ändern, damit auch andere rechner in meinem lokalen netz die url http: //www.example.com auflösen können?

Hier die konfiguration meiner configurations/zonen dateien(mein Pc mit dem DNS hat die 192.168.2.101 als IP)


#####################

###named.conf.local##

#####################

zone "example.com" {

        type master;

        file "/etc/bind/db.example.com";

        };


zone "2.168.192.in-addr.arpa" {

        type master;

        notify no;

        file "/etc/bind/db.192";

};



###################

###db.example.com##

###################

; BIND data file for local loopback interface

;

$TTL    604800

@       IN      SOA     ns.example.com. root.example.com. (

                              7         ; Serial

                         604800         ; Refresh

                          86400         ; Retry

                        2419200         ; Expire

                         604800 )       ; Negative Cache TTL

;

@       IN      NS      ns.example.com.

@       IN      A       192.168.2.101

ns      IN      A       192.168.2.101

www     IN      A       192.168.2.101








###################

###db.192        ##

###################

;BIND reverse data file for local loopback interface

;

$TTL    604800

@       IN      SOA     ns.example.com. root.example.com. (

                              4         ; Serial

                         604800         ; Refresh

                          86400         ; Retry

                        2419200         ; Expire

                         604800 )       ; Negative Cache TTL

;

@       IN      NS      ns.

101     IN      PTR     ns.example.com.





Wenn es lokal auf dem DNS Server geht:

Pruefe ob der richtige DNS-Server bei den Clients drin ist.

Und teste an Deinem Client die Namensaufloesung mit den geeigneten Tools.

dig und host sind hier Deine Freunde (bzw. wenn diese nicht vorhanden sind: nslookup).

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.