domain2idna(1)

domain2idna1

Tool to convert domains to idna format

Usage

domain2idna [POSITION] [argument]

Overview

fBdomain2idna The tool to convert a domain or a file with a list of domain can

This project provides a tool for list or hosts file maintainer that converts domain

to the Punycode/IDNA format. With domain2idna you can do:

* Read a given domain and convert it to the Punycode/IDNA format.

* Read a given URL and convert its base to Punycode/IDNA format.

* Read a file and convert all non-commented line to the Punycode/IDNA format.

* Print the converted data on the screen.

* Save into a file the converted data.

* Return the converted data (when used as a module).

* Ignore commented inputs (starts with #).

Usage

usage: omain2idna [-h] [ -s -SUBJECT [SUBJECT ...]] [ -e ENCODING] [-f FILE]

optional arguments:

-h, --help show this help message and exit

-s SUBJECT [SUBJECT ...], --subject SUBJECT [SUBJECT ...]. Sets the subjects to convert.

-e ENCODING, --encoding ENCODING. Sets the encoding to use.

-f FILE, --file FILE. Sets the file to read to get the domain(s) to convert.

-o OUTPUT, --output OUTPUT. Sets the file where we write the converted domain(s).

-v, --version Show program's version number and exit

Examples

domain2idna -f file

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

Author

domain2idna Project https://github.com/PyFunceble/domain2idna/issues

Josenilson Ferreira da Silva <[email protected]> Created this

man‐page generated automatically by pandoc to generate the manual file.

From python3-domain2idna 1.12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.