Article 52SSB listen-on syntax error in bash

listen-on syntax error in bash

by
Shamulonga
from LinuxQuestions.org on (#52SSB)
I tried to run the following command after editing named.conf file :
$ listen-on { 127.0.0.1; 192.168.100.6; };

It returned the following error message:
-bash: syntax error near unexpected token `}'

Can anyone help resolve this error?

Thank youlatest?d=yIl2AUoC8zA latest?i=86Wmgh-xgc4:b3h4LqnLlgU:F7zBnMy latest?i=86Wmgh-xgc4:b3h4LqnLlgU:V_sGLiP latest?d=qj6IDK7rITs latest?i=86Wmgh-xgc4:b3h4LqnLlgU:gIN9vFw86Wmgh-xgc4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments