Re: 389ds making a local dns server for local web app.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/13/20 8:37 AM, rodentskie@xxxxxxxxx wrote:
> Hello, I'm new in using 389ds. I would like to seek for advice regarding on how to make a local DNS. Like, we have a web app running on http://192.168.0.101:558 and I want to bind that address to a DNS, so that the site will be access now using http://foobar.com:558.

192.168.x.x is private IP only for internal networks.
foobar.com looks like name on public internet.

Main problem is, if you want to run it only on your machine with given
name, the easiest solution would be using /etc/hosts file. In case your
browser ignores it, try running dnsmasq on localhost and use nameserver
127.0.0.1 in /etc/resolv.conf.

If you want others to access your service, public IP adddress is
required in general. Private would only on the same private network - on
home LAN for example.

389ds is a complicated way to run just a DNS server. Is it your requirement?
> 
> I followed the instructions on this guide.
> https://directory.fedoraproject.org/docs/389ds/howto/howto-bind.html
> 
> Somehow I got errors like: 
> [13/Oct/2020:06:26:25.344862514 +0000] - ERR - oc_check_allowed_sv - Entry "cn=foobar.com,ou=DNS,dc=local" -- attribute "dnstype" not allowed
> [13/Oct/2020:06:26:25.348760695 +0000] - ERR - setup_internal_backends - Please edit the file to correct the reported problems and then restart the server.
> 
> 
> All of the attribute are not supported.
> 
> I installed 389ds on an ubuntu 18.04 server. Following this guide. https://www.youtube.com/watch?v=HI4u7vQH0EM
> 
> Also, the links of examples on the official docs says "Not found".
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
> 

-- 
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemensik@xxxxxxxxxx
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux